Commit cdcd73ae authored by Francesca Moscatelli's avatar Francesca Moscatelli
Browse files

Responses OpenAPI 3.0.2

parent a6185272
Loading
Loading
Loading
Loading
Loading
+57 −41
Original line number Original line Diff line number Diff line
@@ -3,12 +3,7 @@
endpoints:
endpoints:
  api-versions:
  api-versions:
    parameters:
    parameters:
      - name: Version
      - $ref: ../components/SOL002SOL003_params.yaml#/components/parameters/Version
        description: >
          Version of the API requested to use when responding to this request.
        in: header
        required: false
        type: string
    get:
    get:
      summary: Retrieve API version information
      summary: Retrieve API version information
      description: >
      description: >
@@ -16,15 +11,46 @@ endpoints:
        table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not
        table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not
        supported.
        supported.
      responses:
      responses:
        200:
        "200":
          $ref: '#/components/responses/ApiVersions.Get'
        "400":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/400
        "401":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/401
        "403":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/403
        "404":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/404
        "405":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
        "406":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/406
        "413":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/413
        "414":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/414
        "416":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/416
        "422":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/422
        "429":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/429
        "500":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/500
        "503":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/503
        "504":
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/504

components:
  responses:
    ApiVersions.Get:
      description: >
      description: >
        200 OK
        200 OK


        API version information was read successfully.
        API version information was read successfully.
        The response body shall contain 4.4 API version
        The response body shall contain 4.4 API version
        information, as defined in clause 4.4.1.13.
        information, as defined in clause 4.4.1.13.
          schema:
            $ref: '../definitions/SOL002SOL003_def.yaml#/definitions/ApiVersionInformation'
      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.
@@ -38,17 +64,7 @@ endpoints:
            type: string
            type: string
            maximum: 1
            maximum: 1
            minimum: 1
            minimum: 1
        400: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/400' }
      content:
        401: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/401' }
        application/json:
        403: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/403' }
          schema:
        404: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/404' }
            $ref: '../definitions/SOL002SOL003_def.yaml#/definitions/ApiVersionInformation'
        405: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/405' }
 No newline at end of file
        406: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/406' }
        413: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/413' }
        414: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/414' }
        416: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/416' }
        422: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/422' }
        429: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/429' }
        500: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/500' }
        503: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/503' }
        504: { $ref: '../responses/SOL002SOL003_resp.yaml#/components/responses/504' }
 No newline at end of file