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

updated response descriptions

parent b1c5eccc
Loading
Loading
Loading
Loading
+44 −9
Original line number Diff line number Diff line
@@ -129,14 +129,7 @@ paths:
        406:
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
        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 alarm" resource.
          #            Typically, this is due to the fact that the alarm is already in the state that is
          #            requested to be set (such as trying to acknowledge an already-acknowledged alarm).
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/409
          $ref: '#/components/responses/IndividualAlarm.Patch.409'
        412:
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/412
        422:
@@ -450,6 +443,48 @@ components:
          schema:
            $ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/AlarmModifications"

    IndividualAlarm.Patch.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 alarm"
        resource.
        Typically, this is due to the fact that the alarm is
        already in the state that is requested to be set (such
        as trying to acknowledge an already-acknowledged
        alarm).
        The response body shall contain a ProblemDetails
        structure, in which the "detail" attribute shall convey
        more information about the error
      headers:
        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.
          style: simple
          explode: false
          schema:
            type: string
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: |
            The MIME type of the body of the response. Reference: IETF RFC 7231
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: "../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"

    Subscriptions.Get.200:
      description: |
        200 OK