From 11542aeb8c008c792bb9957486db79595181f27f Mon Sep 17 00:00:00 2001 From: Giacomo Bernini Date: Wed, 10 Apr 2019 12:23:10 +0200 Subject: [PATCH] updates related to SOL002_5 and SOL002_6 --- src/SOL002/APIVersion/APIVersion.yaml | 14 +- .../VNFConfiguration/VNFConfiguration.yaml | 34 ++- .../responses/VNFConfiguration_resp.yaml | 5 + .../VNFFaultManagement.yaml | 26 +-- .../responses/VNFFaultManagement_resp.yaml | 5 + src/SOL002/VNFIndicator/VNFIndicator.yaml | 20 +- .../VNFIndicatorNotification.yaml | 26 ++- .../VNFIndicatorNotification_resp.yaml | 5 + .../VNFLifecycleManagement.yaml | 193 ++++++++++++++++++ .../VNFLifecycleManagement_resp.yaml | 30 +++ .../VNFPerformanceManagement.yaml | 16 +- src/responses/SOL002SOL003_resp.yaml | 121 +++++++++++ 12 files changed, 433 insertions(+), 62 deletions(-) diff --git a/src/SOL002/APIVersion/APIVersion.yaml b/src/SOL002/APIVersion/APIVersion.yaml index 19e20c81..1a313177 100644 --- a/src/SOL002/APIVersion/APIVersion.yaml +++ b/src/SOL002/APIVersion/APIVersion.yaml @@ -30,19 +30,19 @@ paths: # API Versions # ############################################################################### '/api-versions': + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: false + type: string get: summary: Retrieve API version information description: > The GET method reads API version information. This method shall follow the provisions specified in table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not supported. - parameters: - - name: Version - description: > - Version of the API requested to use when responding to this request. - in: header - required: false - type: string responses: 200: description: > diff --git a/src/SOL002/VNFConfiguration/VNFConfiguration.yaml b/src/SOL002/VNFConfiguration/VNFConfiguration.yaml index e9f9110b..951d7b5c 100644 --- a/src/SOL002/VNFConfiguration/VNFConfiguration.yaml +++ b/src/SOL002/VNFConfiguration/VNFConfiguration.yaml @@ -30,19 +30,19 @@ paths: # API Versions # ############################################################################### '/api-versions': + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string get: summary: Retrieve API version information description: > The GET method reads API version information. This method shall follow the provisions specified in table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not supported. - parameters: - - name: Version - description: > - Version of the API requested to use when responding to this request. - in: header - required: false - type: string responses: 200: description: > @@ -81,17 +81,17 @@ paths: # VNF Configuration # ############################################################################### '/configuration': + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string get: summary: Read VNF/VNFC configuration from VNF description: > The client can use this method to read configuration information about a VNF instance and/or its VNFC instances. - parameters: - - name: Version - description: > - Version of the API requested to use when responding to this request. - in: header - required: false - type: string responses: 200: description: > @@ -138,12 +138,6 @@ paths: in: body schema: $ref: 'definitions/VnfConfiguration_def.yaml#/definitions/VnfConfigModifications' - - name: Version - description: > - Version of the API requested to use when responding to this request. - in: header - required: false - type: string responses: 200: description: > diff --git a/src/SOL002/VNFConfiguration/responses/VNFConfiguration_resp.yaml b/src/SOL002/VNFConfiguration/responses/VNFConfiguration_resp.yaml index 89938b31..5f625c85 100644 --- a/src/SOL002/VNFConfiguration/responses/VNFConfiguration_resp.yaml +++ b/src/SOL002/VNFConfiguration/responses/VNFConfiguration_resp.yaml @@ -12,5 +12,10 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" diff --git a/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml b/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml index 8d45bc6a..dbd67885 100644 --- a/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml +++ b/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml @@ -40,19 +40,19 @@ paths: # API Versions # ############################################################################### '/api-versions': + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string get: summary: Retrieve API version information description: > The GET method reads API version information. This method shall follow the provisions specified in table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not supported. - parameters: - - name: Version - description: > - Version of the API requested to use when responding to this request. - in: header - required: false - type: string responses: 200: description: > @@ -97,7 +97,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: description: > @@ -235,7 +235,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: description: > @@ -384,7 +384,7 @@ paths: 503: $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503" ############################################################################### - # Escalate Perceived Severity task # + # Escalate Perceived Severity task # ############################################################################### '/alarms/{alarmId}/escalate': #SOL002 location: 7.4.4 @@ -393,7 +393,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string post: description: > @@ -456,7 +456,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string post: description: > @@ -674,7 +674,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: description: > diff --git a/src/SOL002/VNFFaultManagement/responses/VNFFaultManagement_resp.yaml b/src/SOL002/VNFFaultManagement/responses/VNFFaultManagement_resp.yaml index 30c373f3..8439306f 100644 --- a/src/SOL002/VNFFaultManagement/responses/VNFFaultManagement_resp.yaml +++ b/src/SOL002/VNFFaultManagement/responses/VNFFaultManagement_resp.yaml @@ -27,5 +27,10 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" diff --git a/src/SOL002/VNFIndicator/VNFIndicator.yaml b/src/SOL002/VNFIndicator/VNFIndicator.yaml index 0860429a..fe4fd7b7 100644 --- a/src/SOL002/VNFIndicator/VNFIndicator.yaml +++ b/src/SOL002/VNFIndicator/VNFIndicator.yaml @@ -2,7 +2,7 @@ swagger: "2.0" info: - version: "1.1.1" + version: "1.2.0" title: "SOL002 - VNF Indicator interface" description: > VNF Indicator interface of ETSI NFV SOL002. @@ -23,8 +23,8 @@ info: url: https://forge.etsi.org/etsi-forge-copyright-notice.txt externalDocs: - description: ETSI GS NFV-SOL 002 V2.4.1 - url: http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.04.01_60/gs_NFV-SOL002v020401p.pdf + description: ETSI GS NFV-SOL 002 V2.5.1 + url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.05.01_60/gs_nfv-sol002v020501p.pdf basePath: /vnfind/v1 @@ -49,7 +49,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: summary: Retrieve API version information @@ -100,7 +100,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: summary: Query multiple indicators @@ -202,7 +202,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: summary: Query multiple indicators related to a VNF instance. @@ -315,7 +315,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: summary: Read an inidividual VNF indicator related to a VNF instance. @@ -368,7 +368,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: summary: Read an inidividual VNF indicator related to a VNF instance. @@ -412,7 +412,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string post: summary: Create a new subscription to VNF indicator change notifications @@ -556,7 +556,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: summary: Read an individual subscription. diff --git a/src/SOL002/VNFIndicatorNotification/VNFIndicatorNotification.yaml b/src/SOL002/VNFIndicatorNotification/VNFIndicatorNotification.yaml index 34c984c6..b78ce697 100644 --- a/src/SOL002/VNFIndicatorNotification/VNFIndicatorNotification.yaml +++ b/src/SOL002/VNFIndicatorNotification/VNFIndicatorNotification.yaml @@ -1,7 +1,7 @@ swagger: "2.0" info: - version: "1.1.1" + version: "1.2.0" title: "SOL002 - VNF Indicator Notification Endpoint interface" description: > VNF Indicator Notification Endpoint interface of ETSI NFV SOL002 @@ -22,9 +22,7 @@ externalDocs: description: ETSI GS NFV-SOL 002 V2.4.1 url: http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.04.01_60/gs_NFV-SOL002v020401p.pdf -basePath: /callback/v1 - -schemes: +schemes: - http - https @@ -38,6 +36,13 @@ produces: paths: /notificationendpoint: + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string post: summary: Notification endpoint description: > @@ -59,6 +64,13 @@ paths: No Content The notification was delivered successfully. The response body shall be empty. + headers: + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 + 400: { $ref: '../../responses/SOL002SOL003_resp.yaml#/responses/400' } 401: { $ref: '../../responses/SOL002SOL003_resp.yaml#/responses/401' } 403: { $ref: '../../responses/SOL002SOL003_resp.yaml#/responses/403' } @@ -83,6 +95,12 @@ paths: No Content The notification endpoint was tested successfully. The response body shall be empty. + headers: + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 400: { $ref: '../../responses/SOL002SOL003_resp.yaml#/responses/400' } 401: { $ref: '../../responses/SOL002SOL003_resp.yaml#/responses/401' } 403: { $ref: '../../responses/SOL002SOL003_resp.yaml#/responses/403' } diff --git a/src/SOL002/VNFIndicatorNotification/responses/VNFIndicatorNotification_resp.yaml b/src/SOL002/VNFIndicatorNotification/responses/VNFIndicatorNotification_resp.yaml index 89938b31..5f625c85 100644 --- a/src/SOL002/VNFIndicatorNotification/responses/VNFIndicatorNotification_resp.yaml +++ b/src/SOL002/VNFIndicatorNotification/responses/VNFIndicatorNotification_resp.yaml @@ -12,5 +12,10 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" diff --git a/src/SOL002/VNFLifecycleManagement/VNFLifecycleManagement.yaml b/src/SOL002/VNFLifecycleManagement/VNFLifecycleManagement.yaml index 6f30655a..741ab470 100644 --- a/src/SOL002/VNFLifecycleManagement/VNFLifecycleManagement.yaml +++ b/src/SOL002/VNFLifecycleManagement/VNFLifecycleManagement.yaml @@ -39,6 +39,13 @@ paths: # API Versions # ############################################################################### '/api-versions': + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string get: summary: Retrieve API version information description: > @@ -83,6 +90,13 @@ paths: ############################################################################### '/vnf_instances': #SOL003 location: 5.4.2 + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string post: #TODO: Add headers defined in 4.3.4.2 description: "The POST method creates a new VNF instance resource." @@ -138,6 +152,11 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "definitions/VNFLifecycleManagement_def.yaml#/definitions/VnfInstance" 400: @@ -268,6 +287,11 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: type: array items: @@ -308,6 +332,12 @@ paths: in: path type: string required: true + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string get: description: > Information about an individual VNF instance was queried successfully. @@ -333,6 +363,11 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "definitions/VNFLifecycleManagement_def.yaml#/definitions/VnfInstance" 400: @@ -415,6 +450,11 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 400: $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400-attr-selector" 401: @@ -451,6 +491,12 @@ paths: in: path type: string required: true + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string post: #SOL003 location: 5.4.4.3.1 description: > @@ -484,6 +530,11 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "definitions/VNFLifecycleManagement_def.yaml#/definitions/VnfInstance" 400: @@ -522,6 +573,12 @@ paths: in: path type: string required: true + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string post: #SOL003 location: 5.4.5.3.1 description: > @@ -571,6 +628,12 @@ paths: in: path type: string required: true + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string post: #SOL003 location: 5.4.6.3.1 description: > @@ -621,6 +684,12 @@ paths: in: path type: string required: true + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string post: description: > The POST method changes the deployment flavour of a VNF instance. @@ -668,6 +737,12 @@ paths: in: path type: string required: true + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string post: description: > The POST method terminates a VNF instance. @@ -715,6 +790,12 @@ paths: in: path type: string required: true + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string post: description: > The POST method requests to heal a VNF instance resource. @@ -762,6 +843,12 @@ paths: in: path type: string required: true + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string post: description: > The POST method changes the operational state of a VNF instance resource. @@ -810,6 +897,12 @@ paths: in: path type: string required: true + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string post: description: > The POST method changes the external connectivity of a VNF instance. @@ -847,6 +940,13 @@ paths: ############################################################################### '/vnf_lcm_op_occs': #SOL003 location: 5.4.12 + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string get: description: > The client can use this method to query status information about @@ -928,6 +1028,12 @@ paths: in: query 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: > @@ -953,6 +1059,12 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 + schema: schema: $ref: "definitions/VNFLifecycleManagement_def.yaml#/definitions/VnfLcmOpOcc" 400: @@ -990,6 +1102,12 @@ paths: in: path 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 get: description: > The client can use this method to retrieve status information about a @@ -1019,6 +1137,12 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 + schema: schema: $ref: "definitions/VNFLifecycleManagement_def.yaml#/definitions/VnfLcmOpOcc" 400: @@ -1056,6 +1180,12 @@ paths: in: path 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 post: description: > The POST method initiates retrying a VNF lifecycle operation if that @@ -1099,6 +1229,12 @@ paths: in: path 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 post: description: > The POST method initiates rolling back a VNF lifecycle operation if @@ -1142,6 +1278,12 @@ paths: in: path 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 post: description: > The POST method marks a VNF lifecycle management operation occurrence @@ -1169,6 +1311,12 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 + schema: schema: $ref: "definitions/VNFLifecycleManagement_def.yaml#/definitions/VnfLcmOpOcc" 400: @@ -1206,6 +1354,12 @@ paths: in: path 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 post: description: > The POST method initiates cancelling an ongoing VNF lifecycle @@ -1252,6 +1406,12 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 + schema: schema: $ref: "../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 500: @@ -1263,6 +1423,13 @@ paths: ############################################################################### '/subscriptions': #SOL003 location: 5.4.18 + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string post: description: > The POST method creates a new subscription. @@ -1301,6 +1468,11 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/LccnSubscription" 400: @@ -1380,6 +1552,11 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/LccnSubscription" 400: @@ -1436,6 +1613,12 @@ paths: in: path type: string required: true + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: true + type: string get: description: > The GET method retrieves information about a subscription by reading @@ -1462,6 +1645,11 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/LccnSubscription" 400: @@ -1499,6 +1687,11 @@ paths: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 400: $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" 401: diff --git a/src/SOL002/VNFLifecycleManagement/responses/VNFLifecycleManagement_resp.yaml b/src/SOL002/VNFLifecycleManagement/responses/VNFLifecycleManagement_resp.yaml index 92e8da02..c64c51b8 100644 --- a/src/SOL002/VNFLifecycleManagement/responses/VNFLifecycleManagement_resp.yaml +++ b/src/SOL002/VNFLifecycleManagement/responses/VNFLifecycleManagement_resp.yaml @@ -29,6 +29,11 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../definitions/VNFLifecycleManagement_def.yaml#/definitions/VnfInstance" 409-another-lcm-operation-ongoing: @@ -55,6 +60,11 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 409-inconsistent-state: @@ -78,6 +88,11 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 409-state-conflict-INSTANTIATED: @@ -104,6 +119,11 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 409-state-conflict-not-FAILED_TEMP: @@ -129,6 +149,11 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 409-state-conflict-NOT-INSTANTIATED: @@ -156,5 +181,10 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" diff --git a/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml b/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml index 859878d6..8e50b39e 100644 --- a/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml +++ b/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml @@ -45,7 +45,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: summary: Retrieve API version information @@ -97,7 +97,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string post: description: > @@ -342,7 +342,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: description: > @@ -478,7 +478,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: description: > @@ -553,7 +553,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string post: description: > @@ -765,7 +765,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: description: > @@ -891,7 +891,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string post: description: > @@ -1101,7 +1101,7 @@ paths: description: > Version of the API requested to use when responding to this request. in: header - required: false + required: true type: string get: description: > diff --git a/src/responses/SOL002SOL003_resp.yaml b/src/responses/SOL002SOL003_resp.yaml index 350b9a9b..c7d4efcf 100644 --- a/src/responses/SOL002SOL003_resp.yaml +++ b/src/responses/SOL002SOL003_resp.yaml @@ -18,6 +18,11 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 202-with-Location: description: > Accepted @@ -46,6 +51,11 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 303: description: > See Other @@ -56,6 +66,12 @@ responses: The HTTP response shall include a "Location" HTTP header that contains the resource URI of the existing subscription resource. The response body shall be empty. + headers: + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 400: description: > Bad Request @@ -97,6 +113,11 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 400-attr-based-filtering-error: @@ -134,6 +155,11 @@ responses: authorization, or error details if the corresponding HTTP request has provided an invalid authorization token. type: string + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 400-attr-selector: @@ -171,6 +197,11 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 401: @@ -198,6 +229,11 @@ responses: type: string maximum: 1 minimum: 0 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 403: @@ -215,6 +251,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 404: @@ -234,6 +275,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 404-task-resource-not-exists: @@ -261,6 +307,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 404-task-resource-not-exists-VNF-LCM: @@ -282,6 +333,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 404-task-not-suported: @@ -304,6 +360,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 404-task-not-suported-VNF-LCM: @@ -327,6 +388,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 405: @@ -342,6 +408,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 406: @@ -358,6 +429,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 412: @@ -375,6 +451,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 413: @@ -392,6 +473,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 414: @@ -408,6 +494,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" @@ -424,6 +515,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 422: @@ -445,6 +541,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 429: @@ -466,6 +567,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" @@ -486,6 +592,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 503: @@ -503,6 +614,11 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" 504: @@ -518,5 +634,10 @@ responses: type: string maximum: 1 minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 schema: $ref: "/../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" \ No newline at end of file -- GitLab