Extracted the shared "InternalServerError" response at the OpenAPI specification in the library target.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user