Commit 43e7c51c authored by Samir Medjiah's avatar Samir Medjiah
Browse files

SOL003: Added version header in request and responses

parent 730763d6
...@@ -86,6 +86,12 @@ paths: ...@@ -86,6 +86,12 @@ paths:
in: query in: query
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: >
...@@ -163,6 +169,12 @@ paths: ...@@ -163,6 +169,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: >
...@@ -231,6 +243,12 @@ paths: ...@@ -231,6 +243,12 @@ paths:
required: true required: true
type: string type: string
enum: ["application/merge-patch+json"] enum: ["application/merge-patch+json"]
- 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: >
...@@ -324,6 +342,12 @@ paths: ...@@ -324,6 +342,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:
201: 201:
description: > description: >
...@@ -421,6 +445,12 @@ paths: ...@@ -421,6 +445,12 @@ paths:
in: query in: query
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: >
...@@ -513,6 +543,12 @@ paths: ...@@ -513,6 +543,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: >
...@@ -537,6 +573,12 @@ paths: ...@@ -537,6 +573,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
schema: schema:
$ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription" $ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription"
400: 400:
...@@ -567,6 +609,12 @@ paths: ...@@ -567,6 +609,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: >
...@@ -583,6 +631,12 @@ paths: ...@@ -583,6 +631,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
......
...@@ -74,6 +74,12 @@ paths: ...@@ -74,6 +74,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: >
...@@ -90,6 +96,12 @@ paths: ...@@ -90,6 +96,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
...@@ -116,6 +128,12 @@ paths: ...@@ -116,6 +128,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: >
...@@ -132,6 +150,12 @@ paths: ...@@ -132,6 +150,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
...@@ -181,6 +205,12 @@ paths: ...@@ -181,6 +205,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: >
...@@ -197,6 +227,12 @@ paths: ...@@ -197,6 +227,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
...@@ -223,6 +259,12 @@ paths: ...@@ -223,6 +259,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: >
...@@ -239,6 +281,12 @@ paths: ...@@ -239,6 +281,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
...@@ -288,6 +336,12 @@ paths: ...@@ -288,6 +336,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: >
...@@ -304,6 +358,12 @@ paths: ...@@ -304,6 +358,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
...@@ -330,6 +390,12 @@ paths: ...@@ -330,6 +390,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: >
...@@ -346,6 +412,12 @@ paths: ...@@ -346,6 +412,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
......
...@@ -83,6 +83,12 @@ paths: ...@@ -83,6 +83,12 @@ paths:
in: query in: query
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: >
...@@ -113,6 +119,12 @@ paths: ...@@ -113,6 +119,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
schema: schema:
type: array type: array
items: items:
...@@ -195,6 +207,12 @@ paths: ...@@ -195,6 +207,12 @@ paths:
in: query in: query
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: >
...@@ -225,6 +243,12 @@ paths: ...@@ -225,6 +243,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
schema: schema:
type: array type: array
items: items:
...@@ -296,6 +320,12 @@ paths: ...@@ -296,6 +320,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: >
...@@ -320,6 +350,12 @@ paths: ...@@ -320,6 +350,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
schema: schema:
$ref: "../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicator" $ref: "../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicator"
400: 400:
...@@ -384,6 +420,12 @@ paths: ...@@ -384,6 +420,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:
201: 201:
description: > description: >
...@@ -414,6 +456,12 @@ paths: ...@@ -414,6 +456,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
schema: schema:
type: array type: array
items: items:
...@@ -483,6 +531,12 @@ paths: ...@@ -483,6 +531,12 @@ paths:
in: query in: query
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: >
...@@ -517,6 +571,12 @@ paths: ...@@ -517,6 +571,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
schema: schema:
type: array type: array
items: items:
...@@ -579,6 +639,12 @@ paths: ...@@ -579,6 +639,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: >
...@@ -603,6 +669,12 @@ paths: ...@@ -603,6 +669,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
schema: schema:
$ref: "../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription" $ref: "../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription"
400: 400:
...@@ -640,6 +712,12 @@ paths: ...@@ -640,6 +712,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: >
...@@ -656,6 +734,12 @@ paths: ...@@ -656,6 +734,12 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
......