Commit 06b613fc authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

convert response status codes to String

parent 5241e338
Pipeline #9758 failed with stage
in 0 seconds
...@@ -1796,61 +1796,61 @@ paths: ...@@ -1796,61 +1796,61 @@ paths:
x-swagger-router-controller: 'subscriptions' x-swagger-router-controller: 'subscriptions'
components: components:
responses: responses:
200: '200':
description: 'OK' description: 'OK'
204: '204':
description: 'No Content' description: 'No Content'
400: '400':
description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.'
content: content:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
401: '401':
description: 'Unauthorized : used when the client did not submit credentials.' description: 'Unauthorized : used when the client did not submit credentials.'
content: content:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
403: '403':
description: 'Forbidden : operation is not allowed given the current status of the resource.' description: 'Forbidden : operation is not allowed given the current status of the resource.'
content: content:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
404: '404':
description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.'
content: content:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
406: '406':
description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.'
content: content:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
412: '412':
description: 'Precondition failed : used when a condition has failed during conditional requests, e.g. when description: 'Precondition failed : used when a condition has failed during conditional requests, e.g. when
using ETags to avoid write conflicts when using PUT' using ETags to avoid write conflicts when using PUT'
content: content:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
414: '414':
description: 'URI Too Long : used to indicate that the server is refusing to process the request because the request URI is description: 'URI Too Long : used to indicate that the server is refusing to process the request because the request URI is
longer than the server is willing or able to process.' longer than the server is willing or able to process.'
content: content:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
415: '415':
description: 'Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.' description: 'Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.'
content: content:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
422: '422':
description: 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the description: 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the
syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an
JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This
...@@ -1859,7 +1859,7 @@ components: ...@@ -1859,7 +1859,7 @@ components:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
429: '429':
description: 'Too Many Requests : used when a rate limiter has triggered.' description: 'Too Many Requests : used when a rate limiter has triggered.'
content: content:
application/problem+json: application/problem+json:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment