Skip to content

Commit 8d945c3

Browse files
author
Tim Bruijnzeels
committed
Update openapi spec for ROA invalid max length error.
1 parent edcfd2c commit 8d945c3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

doc/openapi.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,7 @@ paths:
942942
- $ref: '#/components/schemas/InvalidROADeltaAddingDefinitionAlreadyPresent'
943943
- $ref: '#/components/schemas/InvalidROADeltaRemovingUnknownDefinition'
944944
- $ref: '#/components/schemas/InvalidROADeltaNotAllResourcesHeld'
945+
- $ref: '#/components/schemas/InvalidROADeltaInvalidMaxLength'
945946
'403':
946947
$ref: '#/components/responses/Forbidden'
947948
'404':
@@ -1495,6 +1496,18 @@ components:
14951496
msg:
14961497
type: string
14971498
example: 'Invalid ROA delta: not all resources held.'
1499+
InvalidROADeltaInvalidMaxLength:
1500+
type: object
1501+
required:
1502+
- code
1503+
- msg
1504+
properties:
1505+
code:
1506+
type: integer
1507+
enum: [2404]
1508+
msg:
1509+
type: string
1510+
example: 'Invalid ROA definition: max length not legal for prefix.'
14981511
CAHandleAlreadyInUse:
14991512
type: object
15001513
required:
@@ -1617,6 +1630,12 @@ components:
16171630
application/json:
16181631
schema:
16191632
$ref: '#/components/schemas/InvalidROADeltaNotAllResourcesHeld'
1633+
InvalidROADeltaInvalidMaxLength:
1634+
description: 'Invalid ROA delta: not all resources held.'
1635+
content:
1636+
application/json:
1637+
schema:
1638+
$ref: '#/components/schemas/InvalidROADeltaInvalidMaxLength'
16201639
GetCA:
16211640
description: Success.
16221641
content:

0 commit comments

Comments
 (0)