Commit b1c5eccc authored by Sana Zulfiqar's avatar Sana Zulfiqar
Browse files

added missing error code

parent 8dbd8c90
Loading
Loading
Loading
Loading
Loading
+39 −2
Original line number Diff line number Diff line
@@ -123,6 +123,8 @@ paths:
      responses:
        "202":
          $ref: '#/components/responses/CoordinationCancel.Post.202'
        "409":
          $ref: '#/components/responses/CoordinationCancel.Post.409'
        "400":
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
        "401":
@@ -135,8 +137,6 @@ paths:
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
        "406":
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
        "409":
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/409
        "416":
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
        "422":
@@ -500,3 +500,40 @@ components:
            type: string
            format: url
      content: {}

    CoordinationCancel.Post.409:
      description: >
        409 CONFLICT

        Shall be returned upon the following error: The operation cannot be executed currently, due to a
        conflict with the state of the "Individual coordination action" resource.
        Typically, this is due to the fact that the coordination action has finished processing.
        The response body shall contain a ProblemDetails structure, in which the "detail" attribute
        shall convey more information about the error.
      headers:
        Content-Type:
          description: The MIME type of the body of the response.
          schema:
            type: string
            maximum: 1
            minimum: 1
        WWW-Authenticate:
          description: >
            Challenge if the corresponding HTTP request has not provided
            authorization, or error details if the corresponding HTTP
            request has provided an invalid authorization token.
          schema:
            type: string
            maximum: 1
            minimum: 0
        Version:
          description: >
            Version of the API used in the response.
          schema:
            type: string
            maximum: 1
            minimum: 1
      content:
        application/json:
          schema:
            $ref: "../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"