Skip to content

Commit

Permalink
Autogenerate API
Browse files Browse the repository at this point in the history
  • Loading branch information
archeoss authored and github-actions[bot] committed Oct 12, 2023
1 parent e04e6f9 commit 22b2cbb
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,46 @@ info:
name: ''
version: 0.0.0
paths:
/api/v1/login:
post:
tags:
- services::auth
summary: Login to a BOB cluster
description: |
Login to a BOB cluster
# Errors
This function can return the following errors
1. [`StatusCode::BAD_REQUEST`]
The function failed to parse hostname of the request
2. [`StatusCode::NOT_FOUND`]
The client was unbale to reach the host
3. [`StatusCode::UNAUTHORIZED`]
The client could.t authorize on the host
operationId: login
requestBody:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BobConnectionData'
required: true
responses:
'200':
description: Hello Bob!
/api/v1/logout:
post:
tags:
- services::auth
summary: Logout from a BOB cluster
description: Logout from a BOB cluster
operationId: logout
responses:
'200':
description: Hello Bob!
/root:
get:
tags:
Expand Down

0 comments on commit 22b2cbb

Please sign in to comment.