Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
SOL002-SOL003
Commits
99474203
Commit
99474203
authored
May 05, 2021
by
Giacomo Bernini
Browse files
upd API version endpoint
parent
2bb76529
Pipeline
#6886
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/endpoints/SOL002SOL003_endpoints.yaml
View file @
99474203
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment