add first get method
This commit is contained in:
parent
b500b81d80
commit
1bddff4a23
25
openapi.yaml
25
openapi.yaml
@ -26,7 +26,22 @@ paths:
|
|||||||
$ref: '#/components/schemas/TestOutput'
|
$ref: '#/components/schemas/TestOutput'
|
||||||
security:
|
security:
|
||||||
- jwt: ['secret']
|
- jwt: ['secret']
|
||||||
|
/v1/accounts:
|
||||||
|
get:
|
||||||
|
tags: [ "Account" ]
|
||||||
|
summary: Return all normalized accounts
|
||||||
|
operationId: account.getAccounts
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: accounts response
|
||||||
|
content:
|
||||||
|
'application/json':
|
||||||
|
schema:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Account'
|
||||||
|
security:
|
||||||
|
- jwt: ['secret']
|
||||||
|
|
||||||
components:
|
components:
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
@ -44,3 +59,11 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
details:
|
details:
|
||||||
type: string
|
type: string
|
||||||
|
Account:
|
||||||
|
description: Account
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: integer
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user