Skip to content

Commit

Permalink
Fix bad request example
Browse files Browse the repository at this point in the history
  • Loading branch information
bvsharp committed Oct 3, 2023
1 parent b40409a commit 114c589
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/main/resources/swagger.api/edge-fqm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ components:
description: Validation errors
content:
application/json:
example: examples/validationErrorResponse.sample
example:
errors:
- message: Request is invalid
code: invalid.request
total_records: 1
schema:
$ref: "#/components/schemas/errorResponse"
internalServerErrorResponse:
Expand All @@ -80,8 +84,7 @@ components:
example:
errors:
- message: Unexpected error
type: Generic error
code: '500'
code: unexpected.error
total_records: 1
schema:
$ref: "#/components/schemas/errorResponse"

0 comments on commit 114c589

Please sign in to comment.