Skip to content

Commit

Permalink
feat: Added Unauthorized to existing endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawsson committed Oct 25, 2023
1 parent 4da5fa3 commit 0f12d05
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
2 changes: 0 additions & 2 deletions Writerside/topics/flyte/flyteapi/Guilds-Endpoint.md

This file was deleted.

3 changes: 0 additions & 3 deletions Writerside/topics/flyte/flyteapi/Users-Endpoint.md

This file was deleted.

26 changes: 19 additions & 7 deletions Writerside/topics/flyte/flyteapi/endpoints/status/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/StatusCheck'
'401':
description: Unauthorized

post:
summary: Update status of a Flyte service.
Expand All @@ -31,6 +33,8 @@ paths:
responses:
'201':
description: Created
'401':
description: Unauthorized

components:
schemas:
Expand All @@ -54,12 +58,20 @@ components:
items:
type: object
properties:
id:
type: string
name:
type: string
healthy:
type: boolean
id:
type: string
name:
type: string
healthy:
type: boolean

UnauthorizedError:
type: object
properties:
message:
type: string
documentation_url:
type: string


securitySchemes:
Expand All @@ -69,6 +81,6 @@ components:
bearerFormat: JWT

security:
- bearerAuth: []
- bearerAuth: [ ]


0 comments on commit 0f12d05

Please sign in to comment.