Remove hello in OpenAPI and change session tag to token
This commit is contained in:
27
openapi.yml
27
openapi.yml
@ -16,8 +16,6 @@ externalDocs:
|
|||||||
servers:
|
servers:
|
||||||
- url: ""
|
- url: ""
|
||||||
tags:
|
tags:
|
||||||
- name: hello
|
|
||||||
description: ""
|
|
||||||
- name: token
|
- name: token
|
||||||
description: ""
|
description: ""
|
||||||
- name: signing-request
|
- name: signing-request
|
||||||
@ -26,20 +24,6 @@ tags:
|
|||||||
description: ""
|
description: ""
|
||||||
|
|
||||||
paths:
|
paths:
|
||||||
/hello:
|
|
||||||
get:
|
|
||||||
tags:
|
|
||||||
- hello
|
|
||||||
summary: Get a hello from me
|
|
||||||
operationId: getHello
|
|
||||||
responses:
|
|
||||||
200:
|
|
||||||
description: "Hello"
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/HelloResponse"
|
|
||||||
|
|
||||||
/signing-request/{id}:
|
/signing-request/{id}:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@ -139,7 +123,7 @@ paths:
|
|||||||
/token:
|
/token:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- session
|
- token
|
||||||
summary: Create a bearer token
|
summary: Create a bearer token
|
||||||
operationId: createToken
|
operationId: createToken
|
||||||
requestBody:
|
requestBody:
|
||||||
@ -163,12 +147,6 @@ paths:
|
|||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
HelloResponse:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
value:
|
|
||||||
type: string
|
|
||||||
|
|
||||||
CreateSessionRequest:
|
CreateSessionRequest:
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
@ -243,6 +221,3 @@ components:
|
|||||||
code:
|
code:
|
||||||
type: integer
|
type: integer
|
||||||
description: Machine-readable error code
|
description: Machine-readable error code
|
||||||
details:
|
|
||||||
type: object
|
|
||||||
description: Additional error details when available
|
|
Reference in New Issue
Block a user