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

upd API version endpoint

parent 2bb76529
Loading
Loading
Loading
Loading
Loading
+8 −10
Original line number Original line Diff line number Diff line
@@ -6,8 +6,8 @@ endpoints:
      - $ref: ../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL002SOL003_params.yaml#/components/parameters/Version
    get:
    get:
      description: >
      description: >
        The GET method reads API version information. This method shall follow the provisions specified in table 9.3.3.3.2-1
        The GET method reads API version information. This method shall follow the provisions specified in SOL013 table 9.3.3.3.2-1
        of SOL013 for request and response data structures, and response codes. URI query parameters are not supported.
        for request and response data structures, and response codes. URI query parameters are not supported.
      responses:
      responses:
        "200":
        "200":
          $ref: '#/components/responses/ApiVersions.Get'
          $ref: '#/components/responses/ApiVersions.Get'
@@ -40,28 +40,28 @@ endpoints:
    post:
    post:
      description: >
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        Method Not Allowed" response as defined in clause 6.4.
        Method Not Allowed" response as defined in SOL013 clause 6.4.
      responses:
      responses:
        405:
        405:
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
    put:
    put:
      description: >
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        Method Not Allowed" response as defined in clause 6.4.
        Method Not Allowed" response as defined in SOL013 clause 6.4.
      responses:
      responses:
        405:
        405:
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
    patch:
    patch:
      description: >
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        Method Not Allowed" response as defined in clause 6.4.
        Method Not Allowed" response as defined in SOL013 clause 6.4.
      responses:
      responses:
        405:
        405:
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
    delete:
    delete:
      description: >
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        This method is not supported. When this method is requested on this resource, the API producer shall return a "405
        Method Not Allowed" response as defined in clause 6.4.
        Method Not Allowed" response as defined in SOL013 clause 6.4.
      responses:
      responses:
        405:
        405:
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
          $ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
@@ -70,11 +70,9 @@ components:
  responses:
  responses:
    ApiVersions.Get:
    ApiVersions.Get:
      description: >
      description: >
        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 API version
        information, as defined in clause 4.4.1.13.
        information, as defined in clause 7.1.6.
      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.