Skip to content

Commit

Permalink
Update openapi spec for ROA invalid max length error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Bruijnzeels committed Dec 13, 2019
1 parent edcfd2c commit 8d945c3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions doc/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ paths:
- $ref: '#/components/schemas/InvalidROADeltaAddingDefinitionAlreadyPresent'
- $ref: '#/components/schemas/InvalidROADeltaRemovingUnknownDefinition'
- $ref: '#/components/schemas/InvalidROADeltaNotAllResourcesHeld'
- $ref: '#/components/schemas/InvalidROADeltaInvalidMaxLength'
'403':
$ref: '#/components/responses/Forbidden'
'404':
Expand Down Expand Up @@ -1495,6 +1496,18 @@ components:
msg:
type: string
example: 'Invalid ROA delta: not all resources held.'
InvalidROADeltaInvalidMaxLength:
type: object
required:
- code
- msg
properties:
code:
type: integer
enum: [2404]
msg:
type: string
example: 'Invalid ROA definition: max length not legal for prefix.'
CAHandleAlreadyInUse:
type: object
required:
Expand Down Expand Up @@ -1617,6 +1630,12 @@ components:
application/json:
schema:
$ref: '#/components/schemas/InvalidROADeltaNotAllResourcesHeld'
InvalidROADeltaInvalidMaxLength:
description: 'Invalid ROA delta: not all resources held.'
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidROADeltaInvalidMaxLength'
GetCA:
description: Success.
content:
Expand Down

0 comments on commit 8d945c3

Please sign in to comment.