Skip to content

Commit

Permalink
[#124] fixes some documentation around api-key endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
philherbert committed Sep 15, 2020
1 parent 16bbee2 commit 70b91b5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion documents/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,10 @@ paths:
application/json:
schema:
description: The API Key
$ref: '#/components/schemas/Id'
type: object
properties:
data:
$ref: '#/components/schemas/Id'
'400':
$ref: '#/components/responses/BadRequest'
'401':
Expand All @@ -562,6 +565,10 @@ paths:
responses:
'202':
description: OK
content:
application/json:
schema:
type: object
'401':
$ref: '#/components/responses/Unauthorized'
'403':
Expand Down Expand Up @@ -1410,6 +1417,7 @@ components:
expiry_date:
type: string
format: date-time
nullable: true
id:
$ref: '#/components/schemas/Id'
key_type:
Expand All @@ -1422,6 +1430,7 @@ components:
updated_at:
type: string
format: date-time
nullable: true
version:
type: integer
securitySchemes:
Expand Down

0 comments on commit 70b91b5

Please sign in to comment.