Commit f78b37fd authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed common response codes

parent 416c0752
...@@ -36,6 +36,8 @@ responses: ...@@ -36,6 +36,8 @@ responses:
$ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" $ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"
303: 303:
description: >
303 See Other
headers: headers:
Content-Type: Content-Type:
description: The MIME type of the body of the response. description: The MIME type of the body of the response.
...@@ -236,6 +238,12 @@ responses: ...@@ -236,6 +238,12 @@ responses:
$ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" $ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"
406: 406:
description: >
406 NOT ACCEPTABLE
If the "Accept" HTTP header does not contain at least one name of a content type
that is acceptable to the API producer, the API producer shall respond with this
response code. The "ProblemDetails" structure may be omitted.
headers: headers:
Content-Type: Content-Type:
description: The MIME type of the body of the response. description: The MIME type of the body of the response.
...@@ -260,6 +268,8 @@ responses: ...@@ -260,6 +268,8 @@ responses:
$ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" $ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"
409: 409:
description: >
409 CONFLICT
headers: headers:
Content-Type: Content-Type:
description: The MIME type of the body of the response. description: The MIME type of the body of the response.
...@@ -375,6 +385,8 @@ responses: ...@@ -375,6 +385,8 @@ responses:
$ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" $ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"
416: 416:
description: >
416 Range Not Satisfiable
headers: headers:
Content-Type: Content-Type:
description: The MIME type of the body of the response. description: The MIME type of the body of the response.
......
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