Commit 2e2b9f9f authored by Samir Medjiah's avatar Samir Medjiah
Browse files

SOL005_6 and SOL005_7: Version added to request and response headers in NS LCM interface

parent ddb068df
...@@ -57,6 +57,12 @@ paths: ...@@ -57,6 +57,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
- name: "body" - name: "body"
in: "body" in: "body"
required: true required: true
...@@ -100,6 +106,12 @@ paths: ...@@ -100,6 +106,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector"
401: 401:
...@@ -198,6 +210,12 @@ paths: ...@@ -198,6 +210,12 @@ paths:
in: header in: header
required: false required: false
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
200: 200:
description: > description: >
...@@ -222,6 +240,12 @@ paths: ...@@ -222,6 +240,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
schema: schema:
type: array type: array
items: items:
...@@ -288,6 +312,12 @@ paths: ...@@ -288,6 +312,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
200: 200:
description: > description: >
...@@ -316,6 +346,12 @@ paths: ...@@ -316,6 +346,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector"
401: 401:
...@@ -351,6 +387,12 @@ paths: ...@@ -351,6 +387,12 @@ paths:
in: header in: header
required: false required: false
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
204: 204:
description: > description: >
...@@ -368,6 +410,12 @@ paths: ...@@ -368,6 +410,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector"
401: 401:
...@@ -427,6 +475,12 @@ paths: ...@@ -427,6 +475,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
- name: "body" - name: "body"
in: "body" in: "body"
required: true required: true
...@@ -501,6 +555,12 @@ paths: ...@@ -501,6 +555,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
- name: "body" - name: "body"
in: "body" in: "body"
required: true required: true
...@@ -574,6 +634,12 @@ paths: ...@@ -574,6 +634,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
- name: "body" - name: "body"
in: "body" in: "body"
required: true required: true
...@@ -649,6 +715,12 @@ paths: ...@@ -649,6 +715,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
- name: "body" - name: "body"
in: "body" in: "body"
required: true required: true
...@@ -728,6 +800,12 @@ paths: ...@@ -728,6 +800,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
- name: "body" - name: "body"
in: "body" in: "body"
required: true required: true
...@@ -834,6 +912,12 @@ paths: ...@@ -834,6 +912,12 @@ paths:
in: header in: header
required: false required: false
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
200: 200:
description: > description: >
...@@ -858,6 +942,12 @@ paths: ...@@ -858,6 +942,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
schema: schema:
type: array type: array
items: items:
...@@ -926,6 +1016,12 @@ paths: ...@@ -926,6 +1016,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
200: 200:
description: > description: >
...@@ -956,6 +1052,12 @@ paths: ...@@ -956,6 +1052,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400"
401: 401:
...@@ -1010,6 +1112,12 @@ paths: ...@@ -1010,6 +1112,12 @@ paths:
in: header in: header
required: false required: false
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
202: 202:
$ref: "responses/SOL005_resp.yaml#/responses/202" $ref: "responses/SOL005_resp.yaml#/responses/202"
...@@ -1065,6 +1173,12 @@ paths: ...@@ -1065,6 +1173,12 @@ paths:
in: header in: header
required: false required: false
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
202: 202:
$ref: "responses/SOL005_resp.yaml#/responses/202" $ref: "responses/SOL005_resp.yaml#/responses/202"
...@@ -1114,6 +1228,12 @@ paths: ...@@ -1114,6 +1228,12 @@ paths:
in: header in: header
required: false required: false
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
202: 202:
$ref: "responses/SOL005_resp.yaml#/responses/202" $ref: "responses/SOL005_resp.yaml#/responses/202"
...@@ -1175,6 +1295,12 @@ paths: ...@@ -1175,6 +1295,12 @@ paths:
in: header in: header
required: false required: false
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
200: 200:
description: 200 OK description: 200 OK
...@@ -1205,6 +1331,12 @@ paths: ...@@ -1205,6 +1331,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400"
401: 401:
...@@ -1272,6 +1404,12 @@ paths: ...@@ -1272,6 +1404,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
- name: "body" - name: "body"
in: "body" in: "body"
required: true required: true
...@@ -1374,6 +1512,12 @@ paths: ...@@ -1374,6 +1512,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
- name: "body" - name: "body"
in: "body" in: "body"
required: true required: true
...@@ -1416,6 +1560,12 @@ paths: ...@@ -1416,6 +1560,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
303: 303:
description: > description: >
See Other. See Other.
...@@ -1436,6 +1586,12 @@ paths: ...@@ -1436,6 +1586,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400"
401: 401:
...@@ -1492,6 +1648,12 @@ paths: ...@@ -1492,6 +1648,12 @@ paths:
in: header in: header
required: false required: false
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
200: 200:
description: > description: >
...@@ -1516,7 +1678,12 @@ paths: ...@@ -1516,7 +1678,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
schema: schema:
type: array type: array
items: items:
...@@ -1595,6 +1762,12 @@ paths: ...@@ -1595,6 +1762,12 @@ paths:
in: header in: header
required: false required: false
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
200: 200:
description: > description: >
...@@ -1622,6 +1795,12 @@ paths: ...@@ -1622,6 +1795,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400"
401: 401:
...@@ -1652,6 +1831,12 @@ paths: ...@@ -1652,6 +1831,12 @@ paths:
in: header in: header
required: false required: false
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
204: 204:
description: > description: >
...@@ -1668,6 +1853,12 @@ paths: ...@@ -1668,6 +1853,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400"
401: 401:
...@@ -1729,6 +1920,12 @@ paths: ...@@ -1729,6 +1920,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
204: 204:
description: > description: >
...@@ -1744,6 +1941,12 @@ paths: ...@@ -1744,6 +1941,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 0
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector"
401: 401:
...@@ -1806,6 +2009,12 @@ paths: ...@@ -1806,6 +2009,12 @@ paths:
in: header in: header
required: true required: true
type: string type: string
- name: Version
description: >
Version of the API requested to use when responding to this request.
in: header
required: true
type: string
responses: responses:
204: 204:
description: > description: >
...@@ -1821,6 +2030,12 @@ paths: ...@@ -1821,6 +2030,12 @@ paths:
has provided an invalid authorization token. has provided an invalid authorization token.
maximum: 1 maximum: 1
minimum: 0