Commit c2da30f6 authored by moscatelli's avatar moscatelli
Browse files

SOL005_6 and SOL005_7: Version added in response and request headers in NS fault mgmt interface

parent 9351ac0f
Pipeline #506 passed with stage
in 0 seconds
...@@ -99,7 +99,7 @@ paths: ...@@ -99,7 +99,7 @@ paths:
description: > description: >
Version of the API requested to use when responding to this request. Version of the API requested to use when responding to this request.
in: header in: header
required: false required: true
type: string type: string
responses: responses:
200: 200:
...@@ -129,7 +129,7 @@ paths: ...@@ -129,7 +129,7 @@ paths:
Version of the API used in the response. Version of the API used in the response.
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 1
schema: schema:
type: array type: array
items: items:
...@@ -188,7 +188,7 @@ paths: ...@@ -188,7 +188,7 @@ paths:
description: > description: >
Version of the API requested to use when responding to this request. Version of the API requested to use when responding to this request.
in: header in: header
required: false required: true
type: string type: string
- name: "body" - name: "body"
in: "body" in: "body"
...@@ -238,7 +238,7 @@ paths: ...@@ -238,7 +238,7 @@ paths:
Version of the API used in the response. Version of the API used in the response.
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 1
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400"
401: 401:
...@@ -300,7 +300,7 @@ paths: ...@@ -300,7 +300,7 @@ paths:
description: > description: >
Version of the API requested to use when responding to this request. Version of the API requested to use when responding to this request.
in: header in: header
required: false required: true
type: string type: string
responses: responses:
200: 200:
...@@ -334,7 +334,7 @@ paths: ...@@ -334,7 +334,7 @@ paths:
Version of the API used in the response. Version of the API used in the response.
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 1
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector"
401: 401:
...@@ -400,7 +400,7 @@ paths: ...@@ -400,7 +400,7 @@ paths:
description: > description: >
Version of the API requested to use when responding to this request. Version of the API requested to use when responding to this request.
in: header in: header
required: false required: true
type: string type: string
responses: responses:
200: 200:
...@@ -430,7 +430,7 @@ paths: ...@@ -430,7 +430,7 @@ paths:
Version of the API used in the response. Version of the API used in the response.
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 1
schema: schema:
type: array type: array
items: items:
...@@ -479,7 +479,7 @@ paths: ...@@ -479,7 +479,7 @@ paths:
description: > description: >
Version of the API requested to use when responding to this request. Version of the API requested to use when responding to this request.
in: header in: header
required: false required: true
type: string type: string
responses: responses:
204: 204:
...@@ -502,7 +502,7 @@ paths: ...@@ -502,7 +502,7 @@ paths:
Version of the API used in the response. Version of the API used in the response.
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 1
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector"
401: 401:
...@@ -587,7 +587,7 @@ paths: ...@@ -587,7 +587,7 @@ paths:
description: > description: >
Version of the API requested to use when responding to this request. Version of the API requested to use when responding to this request.
in: header in: header
required: false required: true
type: string type: string
responses: responses:
200: 200:
...@@ -622,7 +622,7 @@ paths: ...@@ -622,7 +622,7 @@ paths:
Version of the API used in the response. Version of the API used in the response.
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 1
206: 206:
$ref: "responses/SOL005_resp.yaml#/responses/206" $ref: "responses/SOL005_resp.yaml#/responses/206"
400: 400:
...@@ -690,7 +690,7 @@ paths: ...@@ -690,7 +690,7 @@ paths:
description: > description: >
Version of the API requested to use when responding to this request. Version of the API requested to use when responding to this request.
in: header in: header
required: false required: true
type: string type: string
responses: responses:
202: 202:
...@@ -721,7 +721,7 @@ paths: ...@@ -721,7 +721,7 @@ paths:
Version of the API used in the response. Version of the API used in the response.
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 1
204: 204:
description: > description: >
204 No Content 204 No Content
...@@ -811,7 +811,7 @@ paths: ...@@ -811,7 +811,7 @@ paths:
description: > description: >
Version of the API requested to use when responding to this request. Version of the API requested to use when responding to this request.
in: header in: header
required: false required: true
type: string type: string
responses: responses:
200: 200:
...@@ -841,7 +841,7 @@ paths: ...@@ -841,7 +841,7 @@ paths:
Version of the API used in the response. Version of the API used in the response.
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 1
schema: schema:
type: "array" type: "array"
items: items:
...@@ -912,7 +912,7 @@ paths: ...@@ -912,7 +912,7 @@ paths:
description: > description: >
Version of the API requested to use when responding to this request. Version of the API requested to use when responding to this request.
in: header in: header
required: false required: true
type: string type: string
responses: responses:
201: 201:
...@@ -951,7 +951,7 @@ paths: ...@@ -951,7 +951,7 @@ paths:
Version of the API used in the response. Version of the API used in the response.
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 1
206: 206:
$ref: "responses/SOL005_resp.yaml#/responses/206" $ref: "responses/SOL005_resp.yaml#/responses/206"
400: 400:
...@@ -1015,7 +1015,7 @@ paths: ...@@ -1015,7 +1015,7 @@ paths:
description: > description: >
Version of the API requested to use when responding to this request. Version of the API requested to use when responding to this request.
in: header in: header
required: false required: true
type: string type: string
responses: responses:
200: 200:
...@@ -1044,7 +1044,7 @@ paths: ...@@ -1044,7 +1044,7 @@ paths:
Version of the API used in the response. Version of the API used in the response.
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 1
schema: schema:
type: "object" type: "object"
properties: properties:
...@@ -1142,7 +1142,7 @@ paths: ...@@ -1142,7 +1142,7 @@ paths:
description: > description: >
Version of the API requested to use when responding to this request. Version of the API requested to use when responding to this request.
in: header in: header
required: false required: true
type: string type: string
- name: "body" - name: "body"
in: "body" in: "body"
......
...@@ -71,6 +71,12 @@ paths: ...@@ -71,6 +71,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: >
...@@ -91,7 +97,13 @@ paths: ...@@ -91,7 +97,13 @@ paths:
authorization, or error details if the corresponding HTTP request authorization, or error details if the corresponding HTTP request
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: 1
schema: schema:
type: array type: array
items: items:
...@@ -155,6 +167,12 @@ paths: ...@@ -155,6 +167,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: >
...@@ -176,7 +194,13 @@ paths: ...@@ -176,7 +194,13 @@ paths:
authorization, or error details if the corresponding HTTP request authorization, or error details if the corresponding HTTP request
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: 1
schema: schema:
properties: properties:
Alarm: Alarm:
...@@ -237,6 +261,12 @@ paths: ...@@ -237,6 +261,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: >
...@@ -258,7 +288,13 @@ paths: ...@@ -258,7 +288,13 @@ paths:
authorization, or error details if the corresponding HTTP request authorization, or error details if the corresponding HTTP request
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: 1
schema: schema:
properties: properties:
AlarmModifications: AlarmModifications:
...@@ -319,7 +355,13 @@ paths: ...@@ -319,7 +355,13 @@ paths:
Reference: IETF RFC 7231 Reference: IETF RFC 7231
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
...@@ -362,7 +404,13 @@ paths: ...@@ -362,7 +404,13 @@ paths:
authorization, or error details if the corresponding HTTP request authorization, or error details if the corresponding HTTP request
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: 1
303: 303:
$ref: "responses/SOL005_resp.yaml#/responses/303" $ref: "responses/SOL005_resp.yaml#/responses/303"
400: 400:
...@@ -424,6 +472,12 @@ paths: ...@@ -424,6 +472,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: >
...@@ -446,7 +500,13 @@ paths: ...@@ -446,7 +500,13 @@ paths:
authorization, or error details if the corresponding HTTP request authorization, or error details if the corresponding HTTP request
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: 1
schema: schema:
type: array type: array
items: items:
...@@ -516,6 +576,12 @@ paths: ...@@ -516,6 +576,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: >
...@@ -540,6 +606,12 @@ paths: ...@@ -540,6 +606,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: 1
schema: schema:
properties: properties:
FmSubscription: FmSubscription:
...@@ -572,6 +644,12 @@ paths: ...@@ -572,6 +644,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: >
...@@ -588,6 +666,12 @@ paths: ...@@ -588,6 +666,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: 1
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400"
401: 401:
...@@ -646,6 +730,12 @@ paths: ...@@ -646,6 +730,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: >
...@@ -661,7 +751,13 @@ paths: ...@@ -661,7 +751,13 @@ paths:
authorization, or error details if the corresponding HTTP request authorization, or error details if the corresponding HTTP request
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: 1
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400"
401: 401:
...@@ -710,6 +806,12 @@ paths: ...@@ -710,6 +806,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: >
...@@ -725,7 +827,13 @@ paths: ...@@ -725,7 +827,13 @@ paths:
authorization, or error details if the corresponding HTTP request authorization, or error details if the corresponding HTTP request
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: 1
400: 400:
$ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400"
401: 401:
...@@ -774,6 +882,12 @@ paths: ...@@ -774,6 +882,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: >
...@@ -789,7 +903,13 @@ paths: ...@@ -789,7 +903,13 @@ paths: