Skip to content

Commit

Permalink
Merge pull request #14 from folio-org/EDGFQM-10
Browse files Browse the repository at this point in the history
EDGFQM-10: fix remaining api-lint errors
  • Loading branch information
bvsharp committed Oct 3, 2023
2 parents adad9ec + 4e72788 commit 7e6cd5d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/main/resources/swagger.api/edge-fqm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ paths:
operationId: getEntityTypeSummary
tags:
- entityTypes
description: Get names for a list of entity type ids.
description: Get names for a list of entity type ids
parameters:
- $ref: '#/components/parameters/entity-type-ids'
responses:
Expand Down Expand Up @@ -70,13 +70,21 @@ 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:
description: When unhandled exception occurred during code execution, e.g. NullPointerException
content:
application/json:
example: examples/unknownError.sample
example:
errors:
- message: Unexpected error
code: unexpected.error
total_records: 1
schema:
$ref: "#/components/schemas/errorResponse"

0 comments on commit 7e6cd5d

Please sign in to comment.