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

upd API version endpoint

parent 2bb76529
Pipeline #6886 passed with stage
in 0 seconds
......@@ -6,8 +6,8 @@ endpoints:
- $ref: ../components/SOL002SOL003_params.yaml#/components/parameters/Version
get:
description: >
The GET method reads API version information. This method shall follow the provisions specified in table 9.3.3.3.2-1
of SOL013 for request and response data structures, and response codes. URI query parameters are not supported.
The GET method reads API version information. This method shall follow the provisions specified in SOL013 table 9.3.3.3.2-1
for request and response data structures, and response codes. URI query parameters are not supported.
responses:
"200":
$ref: '#/components/responses/ApiVersions.Get'
......@@ -40,28 +40,28 @@ endpoints:
post:
description: >
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:
405:
$ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
put:
description: >
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:
405:
$ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
patch:
description: >
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:
405:
$ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
delete:
description: >
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:
405:
$ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
......@@ -70,11 +70,9 @@ components:
responses:
ApiVersions.Get:
description: >
200 OK
API version information was read successfully.
The response body shall contain 4.4 API version
information, as defined in clause 4.4.1.13.
The response body shall contain API version
information, as defined in clause 7.1.6.
headers:
Content-Type:
description: The MIME type of the body of the response.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment