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

fix headers

parent 2e1dfe76
Loading
Loading
Loading
Loading
+58 −23
Original line number Original line Diff line number Diff line
@@ -8,6 +8,14 @@ endpoints:
          Version of the API requested to use when responding to this request.
          Version of the API requested to use when responding to this request.
        in: header
        in: header
        required: false
        required: false
        schema:
          type: string
      - name: Authorization
        description: >-
          The authorization token for the request. Reference: IETF RFC 7235
        in: header
        required: false
        schema:
          type: string
          type: string
    get:
    get:
      summary: Retrieve API version information
      summary: Retrieve API version information
@@ -23,30 +31,57 @@ endpoints:
            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.
          content:
            application/json:
              schema:
              schema:
                $ref: '../definitions/SOL009_def.yaml#/definitions/ApiVersionInformation'
                $ref: '../definitions/SOL009_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.
              schema:
                type: string
                type: string
                maximum: 1
                maximum: 1
                minimum: 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:
            Version:
              description: The used API version.
              description: The used API version.
              schema:
                type: string
                type: string
                maximum: 1
                maximum: 1
                minimum: 1
                minimum: 1
        400: { $ref: '../responses/SOL009_resp.yaml#/responses/400' }
        400:
        401: { $ref: '../responses/SOL009_resp.yaml#/responses/401' }
          $ref: '../responses/SOL009_resp.yaml#/responses/400'
        403: { $ref: '../responses/SOL009_resp.yaml#/responses/403' }
        401:
        404: { $ref: '../responses/SOL009_resp.yaml#/responses/404' }
          $ref: '../responses/SOL009_resp.yaml#/responses/401'
        405: { $ref: '../responses/SOL009_resp.yaml#/responses/405' }
        403:
        406: { $ref: '../responses/SOL009_resp.yaml#/responses/406' }
          $ref: '../responses/SOL009_resp.yaml#/responses/403'
        413: { $ref: '../responses/SOL009_resp.yaml#/responses/413' }
        404:
        414: { $ref: '../responses/SOL009_resp.yaml#/responses/414' }
          $ref: '../responses/SOL009_resp.yaml#/responses/404'
        416: { $ref: '../responses/SOL009_resp.yaml#/responses/416' }
        405:
        422: { $ref: '../responses/SOL009_resp.yaml#/responses/422' }
          $ref: '../responses/SOL009_resp.yaml#/responses/405'
        429: { $ref: '../responses/SOL009_resp.yaml#/responses/429' }
        406:
        500: { $ref: '../responses/SOL009_resp.yaml#/responses/500' }
          $ref: '../responses/SOL009_resp.yaml#/responses/406'
        503: { $ref: '../responses/SOL009_resp.yaml#/responses/503' }
        413:
        504: { $ref: '../responses/SOL009_resp.yaml#/responses/504' }
          $ref: '../responses/SOL009_resp.yaml#/responses/413'
 No newline at end of file
        414:
          $ref: '../responses/SOL009_resp.yaml#/responses/414'
        416:
          $ref: '../responses/SOL009_resp.yaml#/responses/416'
        422:
          $ref: '../responses/SOL009_resp.yaml#/responses/422'
        429:
          $ref: '../responses/SOL009_resp.yaml#/responses/429'
        500:
          $ref: '../responses/SOL009_resp.yaml#/responses/500'
        503:
          $ref: '../responses/SOL009_resp.yaml#/responses/503'
        504:
          $ref: '../responses/SOL009_resp.yaml#/responses/504'
 No newline at end of file