diff --git a/Sources/AmiiboService/openapi.yaml b/Sources/AmiiboService/openapi.yaml index 86d5be5..c50b1b3 100644 --- a/Sources/AmiiboService/openapi.yaml +++ b/Sources/AmiiboService/openapi.yaml @@ -91,7 +91,7 @@ paths: '404': $ref: '#/components/responses/NotFound' '500': - description: The service is currently unavailable. + $ref: '#/components/responses/InternalServerError' /amiiboseries: get: tags: @@ -119,7 +119,7 @@ paths: '404': $ref: '#/components/responses/NotFound' '500': - description: The service is currently unavailable. + $ref: '#/components/responses/InternalServerError' /character: get: tags: @@ -147,7 +147,7 @@ paths: '404': $ref: '#/components/responses/NotFound' '500': - description: The service is currently unavailable. + $ref: '#/components/responses/InternalServerError' /gameseries: get: tags: @@ -175,7 +175,7 @@ paths: '404': $ref: '#/components/responses/NotFound' '500': - description: The service is currently unavailable. + $ref: '#/components/responses/InternalServerError' /type: get: tags: @@ -203,7 +203,7 @@ paths: '404': $ref: '#/components/responses/NotFound' '500': - description: The service is currently unavailable. + $ref: '#/components/responses/InternalServerError' /lastupdated: get: tags: @@ -222,7 +222,7 @@ paths: schema: $ref: '#/components/schemas/LastUpdated' '500': - description: The service is currently unavailable. + $ref: '#/components/responses/InternalServerError' components: parameters: AmiiboSeries: @@ -320,6 +320,8 @@ components: application/json: schema: $ref: '#/components/schemas/ServiceError' + InternalServerError: + description: The service is currently unavailable. NotFound: description: No results were found matching the given filter criteria. content: