Skip to content

Commit

Permalink
feat(docs): update api swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu authored and brian-mulier-p committed Oct 1, 2024
1 parent 1b408e1 commit 616fc9e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 145 deletions.
164 changes: 19 additions & 145 deletions public/kestra-ee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2583,6 +2583,13 @@ paths:
type: integer
format: int32
nullable: true
- name: scheduleDate
in: query
description: Schedule the flow on a specific date
schema:
type: string
format: date-time
nullable: true
requestBody:
content:
multipart/form-data:
Expand Down Expand Up @@ -7839,26 +7846,6 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
/api/v1/tenants/users/{id}/refresh-token:
delete:
tags:
- Users
summary: Delete a user refresh token
operationId: deleteRefreshToken
parameters:
- name: id
in: path
description: The user id
required: true
schema:
type: string
responses:
"200":
description: deleteRefreshToken 200 response
content:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
/api/v1/tenants/users/{id}/set-superadmin:
put:
tags:
Expand Down Expand Up @@ -9040,31 +9027,6 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
/api/v1/tenants/{ressourceTenant}/users/{id}/refresh-token:
delete:
tags:
- Users
summary: Delete a user refresh token
operationId: deleteRefreshToken_1
parameters:
- name: id
in: path
description: The user id
required: true
schema:
type: string
- name: ressourceTenant
in: path
required: true
schema:
type: string
responses:
"200":
description: deleteRefreshToken_1 200 response
content:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
/api/v1/tenants/{ressourceTenant}/users/{id}/set-superadmin:
put:
tags:
Expand Down Expand Up @@ -9952,26 +9914,6 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
/api/v1/users/{id}/refresh-token:
delete:
tags:
- Users
summary: Delete a user refresh token
operationId: deleteRefreshToken_2
parameters:
- name: id
in: path
description: The user id
required: true
schema:
type: string
responses:
"200":
description: deleteRefreshToken_2 200 response
content:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
/api/v1/{tenant}/acls/actions:
get:
tags:
Expand Down Expand Up @@ -12847,6 +12789,13 @@ paths:
type: integer
format: int32
nullable: true
- name: scheduleDate
in: query
description: Schedule the flow on a specific date
schema:
type: string
format: date-time
nullable: true
- name: tenant
in: path
required: true
Expand Down Expand Up @@ -19077,31 +19026,6 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
/api/v1/{tenant}/tenants/users/{id}/refresh-token:
delete:
tags:
- Users
summary: Delete a user refresh token
operationId: deleteRefreshToken_3
parameters:
- name: id
in: path
description: The user id
required: true
schema:
type: string
- name: tenant
in: path
required: true
schema:
type: string
responses:
"200":
description: deleteRefreshToken_3 200 response
content:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
/api/v1/{tenant}/tenants/users/{id}/set-superadmin:
put:
tags:
Expand Down Expand Up @@ -20483,36 +20407,6 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
/api/v1/{tenant}/tenants/{ressourceTenant}/users/{id}/refresh-token:
delete:
tags:
- Users
summary: Delete a user refresh token
operationId: deleteRefreshToken_4
parameters:
- name: id
in: path
description: The user id
required: true
schema:
type: string
- name: ressourceTenant
in: path
required: true
schema:
type: string
- name: tenant
in: path
required: true
schema:
type: string
responses:
"200":
description: deleteRefreshToken_4 200 response
content:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
/api/v1/{tenant}/tenants/{ressourceTenant}/users/{id}/set-superadmin:
put:
tags:
Expand Down Expand Up @@ -21596,31 +21490,6 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
/api/v1/{tenant}/users/{id}/refresh-token:
delete:
tags:
- Users
summary: Delete a user refresh token
operationId: deleteRefreshToken_5
parameters:
- name: id
in: path
description: The user id
required: true
schema:
type: string
- name: tenant
in: path
required: true
schema:
type: string
responses:
"200":
description: deleteRefreshToken_5 200 response
content:
application/json:
schema:
$ref: "#/components/schemas/ApiUser"
components:
schemas:
AbstractBindingController.BindingDetail:
Expand Down Expand Up @@ -23213,6 +23082,7 @@ components:
- originalId
- outputs
- parentId
- scheduleDate
- state
- taskRunList
- trigger
Expand Down Expand Up @@ -23257,6 +23127,10 @@ components:
type: boolean
metadata:
$ref: "#/components/schemas/ExecutionMetadata"
scheduleDate:
type: string
format: date-time
nullable: true
ExecutionController.EvalResult:
type: object
properties:
Expand Down
12 changes: 12 additions & 0 deletions public/kestra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1984,6 +1984,13 @@ paths:
type: integer
format: int32
nullable: true
- name: scheduleDate
in: query
description: Schedule the flow on a specific date
schema:
type: string
format: date-time
nullable: true
requestBody:
content:
multipart/form-data:
Expand Down Expand Up @@ -5995,6 +6002,7 @@ components:
- originalId
- outputs
- parentId
- scheduleDate
- state
- taskRunList
- trigger
Expand Down Expand Up @@ -6039,6 +6047,10 @@ components:
type: boolean
metadata:
$ref: "#/components/schemas/ExecutionMetadata"
scheduleDate:
type: string
format: date-time
nullable: true
ExecutionController.EvalResult:
type: object
properties:
Expand Down

0 comments on commit 616fc9e

Please sign in to comment.