From f78b37fddf8b5aeef60073760a457594287fb24d Mon Sep 17 00:00:00 2001 From: Giacomo Bernini Date: Thu, 3 Oct 2019 12:59:45 +0200 Subject: [PATCH] fixed common response codes --- src/responses/SOL002SOL003_resp.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/responses/SOL002SOL003_resp.yaml b/src/responses/SOL002SOL003_resp.yaml index b0b39f8f..bfb8b1d7 100644 --- a/src/responses/SOL002SOL003_resp.yaml +++ b/src/responses/SOL002SOL003_resp.yaml @@ -36,6 +36,8 @@ responses: $ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 303: + description: > + 303 See Other headers: Content-Type: description: The MIME type of the body of the response. @@ -236,6 +238,12 @@ responses: $ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 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: Content-Type: description: The MIME type of the body of the response. @@ -260,6 +268,8 @@ responses: $ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 409: + description: > + 409 CONFLICT headers: Content-Type: description: The MIME type of the body of the response. @@ -375,6 +385,8 @@ responses: $ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 416: + description: > + 416 Range Not Satisfiable headers: Content-Type: description: The MIME type of the body of the response. -- GitLab