aboutsummaryrefslogtreecommitdiffstats
path: root/openapi/swagger/openapi.yml
diff options
context:
space:
mode:
Diffstat (limited to 'openapi/swagger/openapi.yml')
-rw-r--r--openapi/swagger/openapi.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/openapi/swagger/openapi.yml b/openapi/swagger/openapi.yml
index 991d807..5b3578a 100644
--- a/openapi/swagger/openapi.yml
+++ b/openapi/swagger/openapi.yml
@@ -51,6 +51,7 @@ paths:
required: true
schema:
type: string
+ example: my-anchor
- $ref: '#/components/parameters/observedTimestampAfter'
- $ref: '#/components/parameters/simplePayloadFilter'
- $ref: '#/components/parameters/pointInTime'
@@ -192,18 +193,30 @@ components:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
+ example:
+ status: 400 BAD_REQUEST
+ message: Bad request error message
+ details: Bad request error details
Unauthorized:
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
+ example:
+ status: 401
+ message: Unauthorized error message
+ details: Unauthorized error details
Forbidden:
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
+ example:
+ status: 403
+ message: Forbidden error message
+ details: Forbidden error details
schemas:
AnchorDetails:
type: object