From 2e2b9f9fe27e38b61c22f199f99f5826edcad8f4 Mon Sep 17 00:00:00 2001 From: Samir Medjiah Date: Wed, 10 Apr 2019 03:32:06 +0200 Subject: [PATCH] SOL005_6 and SOL005_7: Version added to request and response headers in NS LCM interface --- .../NSLifecycleManagement.yaml | 241 +++++++++++++++++- 1 file changed, 240 insertions(+), 1 deletion(-) diff --git a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml index 8334f33..26699f9 100644 --- a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml +++ b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml @@ -57,6 +57,12 @@ paths: in: header required: true 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" in: "body" required: true @@ -100,6 +106,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" 401: @@ -198,6 +210,12 @@ paths: in: header required: false type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 200: description: > @@ -222,6 +240,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 schema: type: array items: @@ -288,6 +312,12 @@ paths: in: header required: true type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 200: description: > @@ -316,6 +346,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" 401: @@ -351,6 +387,12 @@ paths: in: header required: false type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 204: description: > @@ -368,6 +410,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" 401: @@ -427,6 +475,12 @@ paths: in: header required: true 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" in: "body" required: true @@ -501,6 +555,12 @@ paths: in: header required: true 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" in: "body" required: true @@ -574,6 +634,12 @@ paths: in: header required: true 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" in: "body" required: true @@ -649,6 +715,12 @@ paths: in: header required: true 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" in: "body" required: true @@ -728,6 +800,12 @@ paths: in: header required: true 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" in: "body" required: true @@ -834,6 +912,12 @@ paths: in: header required: false type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 200: description: > @@ -858,6 +942,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 schema: type: array items: @@ -926,6 +1016,12 @@ paths: in: header required: true type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 200: description: > @@ -956,6 +1052,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: @@ -1010,6 +1112,12 @@ paths: in: header required: false type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 202: $ref: "responses/SOL005_resp.yaml#/responses/202" @@ -1065,6 +1173,12 @@ paths: in: header required: false type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 202: $ref: "responses/SOL005_resp.yaml#/responses/202" @@ -1114,6 +1228,12 @@ paths: in: header required: false type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 202: $ref: "responses/SOL005_resp.yaml#/responses/202" @@ -1175,6 +1295,12 @@ paths: in: header required: false type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 200: description: 200 OK @@ -1205,6 +1331,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: @@ -1272,6 +1404,12 @@ paths: in: header required: true 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" in: "body" required: true @@ -1374,6 +1512,12 @@ paths: in: header required: true 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" in: "body" required: true @@ -1416,6 +1560,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 303: description: > See Other. @@ -1436,6 +1586,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: @@ -1492,6 +1648,12 @@ paths: in: header required: false type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 200: description: > @@ -1516,7 +1678,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 - + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 schema: type: array items: @@ -1595,6 +1762,12 @@ paths: in: header required: false type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 200: description: > @@ -1622,6 +1795,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: @@ -1652,6 +1831,12 @@ paths: in: header required: false type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 204: description: > @@ -1668,6 +1853,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: @@ -1729,6 +1920,12 @@ paths: in: header required: true type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 204: description: > @@ -1744,6 +1941,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" 401: @@ -1806,6 +2009,12 @@ paths: in: header required: true type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 204: description: > @@ -1821,6 +2030,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" 401: @@ -1883,6 +2098,12 @@ paths: in: header required: true type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 204: description: > @@ -1898,6 +2119,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" 401: @@ -1942,6 +2169,12 @@ paths: in: header required: false type: string + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string responses: 204: description: > @@ -1958,6 +2191,12 @@ paths: has provided an invalid authorization token. maximum: 1 minimum: 0 + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" 401: -- GitLab