Skip to content

Commit

Permalink
revert format
Browse files Browse the repository at this point in the history
  • Loading branch information
nadavsteindler committed Dec 16, 2024
1 parent d2166f2 commit be38cb7
Showing 1 changed file with 50 additions and 50 deletions.
100 changes: 50 additions & 50 deletions docs/assets/js/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ servers:
- url: "/api/v1"
description: lakeFS server endpoint
security:
- jwt_token: [ ]
- basic_auth: [ ]
- cookie_auth: [ ]
- oidc_auth: [ ]
- saml_auth: [ ]
- jwt_token: []
- basic_auth: []
- cookie_auth: []
- oidc_auth: []
- saml_auth: []
components:
securitySchemes:
basic_auth:
Expand Down Expand Up @@ -305,7 +305,7 @@ components:
type: string
path_type:
type: string
enum: [ common_prefix, object ]
enum: [common_prefix, object]
physical_address:
type: string
description: |
Expand Down Expand Up @@ -449,12 +449,12 @@ components:
properties:
type:
type: string
enum: [ added, removed, changed, conflict, prefix_changed ]
enum: [added, removed, changed, conflict, prefix_changed]
path:
type: string
path_type:
type: string
enum: [ common_prefix, object ]
enum: [common_prefix, object]
size_bytes:
type: integer
description: represents the size of the added/changed/deleted entry
Expand All @@ -480,7 +480,7 @@ components:
properties:
type:
type: string
enum: [ object, common_prefix, reset ]
enum: [object, common_prefix, reset]
description: What to reset according to path.
path:
type: string
Expand Down Expand Up @@ -908,7 +908,7 @@ components:
RBAC will remain enabled on GUI if "external". That only works
with an external auth service.
type: string
enum: [ none, simplified, external ]
enum: [none, simplified, external]
login_url:
description: primary URL to use for login.
type: string
Expand Down Expand Up @@ -941,7 +941,7 @@ components:
properties:
state:
type: string
enum: [ initialized, not_initialized ]
enum: [initialized, not_initialized]
comm_prefs_missing:
type: boolean
description: true if the comm prefs are missing.
Expand Down Expand Up @@ -1155,7 +1155,7 @@ components:
properties:
effect:
type: string
enum: [ allow, deny ]
enum: [allow, deny]
resource:
type: string
action:
Expand Down Expand Up @@ -1285,7 +1285,7 @@ components:
type: string
status:
type: string
enum: [ failed, completed ]
enum: [failed, completed]
commit_id:
type: string

Expand Down Expand Up @@ -1325,7 +1325,7 @@ components:
format: date-time
status:
type: string
enum: [ failed, completed ]
enum: [failed, completed]

HookRunList:
type: object
Expand Down Expand Up @@ -1767,36 +1767,36 @@ components:

PullRequest:
allOf:
- $ref: '#/components/schemas/PullRequestBasic'
- required:
- $ref: '#/components/schemas/PullRequestBasic'
- required:
- status
- title
- description
- type: object
required:
- id
- creation_date
- author
- source_branch
- destination_branch
properties:
id:
type: string
creation_date:
type: string
format: date-time
author:
type: string
source_branch:
type: string
destination_branch:
type: string
merged_commit_id:
type: string
description: the commit id of merged PRs
closed_date:
type: string
format: date-time
- type: object
required:
- id
- creation_date
- author
- source_branch
- destination_branch
properties:
id:
type: string
creation_date:
type: string
format: date-time
author:
type: string
source_branch:
type: string
destination_branch:
type: string
merged_commit_id:
type: string
description: the commit id of merged PRs
closed_date:
type: string
format: date-time

PullRequestsList:
type: object
Expand Down Expand Up @@ -1843,7 +1843,7 @@ paths:
- internal
operationId: setupCommPrefs
summary: setup communications preferences
security: [ ]
security: []
requestBody:
required: true
content:
Expand Down Expand Up @@ -1876,7 +1876,7 @@ paths:
- internal
operationId: getSetupState
summary: check if the lakeFS installation is already set up
security: [ ]
security: []
responses:
200:
description: lakeFS setup state
Expand All @@ -1893,7 +1893,7 @@ paths:
- internal
operationId: setup
summary: setup lakeFS and create a first user
security: [ ]
security: []
requestBody:
required: true
content:
Expand Down Expand Up @@ -1940,7 +1940,7 @@ paths:
- auth
operationId: login
summary: perform a login
security: [ ] # No authentication
security: [] # No authentication
requestBody:
content:
application/json:
Expand Down Expand Up @@ -1973,7 +1973,7 @@ paths:
- auth
operationId: externalPrincipalLogin
summary: perform a login using an external authenticator
security: [ ]
security: []
requestBody:
content:
application/json:
Expand Down Expand Up @@ -2005,7 +2005,7 @@ paths:
- experimental
operationId: stsLogin # change to stsLogin
summary: perform a login with STS
security: [ ]
security: []
requestBody:
required: true
content:
Expand All @@ -2032,7 +2032,7 @@ paths:
- internal
operationId: getAuthCapabilities
summary: list authentication capabilities supported
security: [ ]
security: []
responses:
200:
description: auth capabilities
Expand Down Expand Up @@ -4150,7 +4150,7 @@ paths:
name: type
schema:
type: string
enum: [ two_dot, three_dot ]
enum: [two_dot, three_dot]
default: three_dot

get:
Expand Down Expand Up @@ -5935,7 +5935,7 @@ paths:
/healthcheck:
get:
operationId: healthCheck
security: [ ]
security: []
tags:
- healthCheck
description: check that the API server is up and running
Expand Down

0 comments on commit be38cb7

Please sign in to comment.