diff --git a/.gitignore b/.gitignore index b92d66299da73b0469424fb704da6e59b27e038c..cb8927b689a77178613cbcc429f4760b2a649b83 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ build/ *.pyc +.idea/ diff --git a/src/SOL005/APIVersion/APIVersion.yaml b/src/SOL005/APIVersion/APIVersion.yaml index 64736fc666076f15e7049152126763e29df360db..6cdc238386f357aad9c63188efb13d4c1fd8e69a 100644 --- a/src/SOL005/APIVersion/APIVersion.yaml +++ b/src/SOL005/APIVersion/APIVersion.yaml @@ -1,50 +1,39 @@ -swagger: "2.0" +openapi: 3.0.2 info: - version: "1.0.0-impl:etsi.org:ETSI_NFV_OpenAPI:1" - title: "SOL005 - API version interface" - description: > - SOL005 - API version Interface - IMPORTANT: Please note that this file might be not aligned to the current - version of the ETSI Group Specification it refers to and has not been - approved by the ETSI NFV ISG. In case of discrepancies the published ETSI - Group Specification takes precedence. + title: SOL005 - API version interface + description: | + SOL005 - API version Interface IMPORTANT: Please note that this file might be not aligned to the current version of + the ETSI Group Specification it refers to and has not been approved by the ETSI NFV ISG. In case of discrepancies the + published ETSI Group Specification takes precedence. Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis + contact: + name: NFV-SOL WG license: - name: "ETSI Forge copyright notice" + name: ETSI Forge copyright notice url: https://forge.etsi.org/etsi-forge-copyright-notice.txt - contact: - name: "NFV-SOL WG" + version: 1.0.0-impl:etsi.org:ETSI_NFV_OpenAPI:1 externalDocs: - description: ETSI GS NFV-SOL 005 V2.7.1 + description: ETSI GS NFV-SOL 005 V3.3.1 url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/02.07.01_60/gs_NFV-SOL005v020701p.pdf -schemes: - - http - - https - -consumes: - - application/json - -produces: - - application/json +servers: + - url: http://127.0.0.1/ + - url: https://127.0.0.1/ paths: - ############################################################################### - # API Versions # - ############################################################################### - '/nsd/api_versions': - $ref: '../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions' + /nsd/api_versions: + $ref: ../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions - '/nsfm/api_versions': - $ref: '../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions' + /nsfm/api_versions: + $ref: ../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions - '/nslcm/api_versions': - $ref: '../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions' + /nslcm/api_versions: + $ref: ../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions - '/nspm/api_versions': - $ref: '../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions' + /nspm/api_versions: + $ref: ../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions - '/vnfpkgm/api_versions': - $ref: '../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions' \ No newline at end of file + /vnfpkgm/api_versions: + $ref: ../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions \ No newline at end of file diff --git a/src/SOL005/NSDManagement/NSDManagement.yaml b/src/SOL005/NSDManagement/NSDManagement.yaml index 4fe3238653cd38358835e3122889d80b6fb4a55d..fc4d13bf8f8185817ae722e9c0f8bc7ce60fdbaf 100644 --- a/src/SOL005/NSDManagement/NSDManagement.yaml +++ b/src/SOL005/NSDManagement/NSDManagement.yaml @@ -120,23 +120,23 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" get: summary: Query information about multiple NS descriptor resources. @@ -248,23 +248,23 @@ paths: items: $ref: "definitions/SOL005NSDescriptorManagement_def.yaml#/definitions/NsdInfo" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" ############################################################################### # Individual NS Descriptor # @@ -337,23 +337,23 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" patch: summary: Modify the operational state and/or the user defined data of an individual NS descriptor resource. @@ -414,17 +414,17 @@ paths: schema: $ref: "definitions/SOL005NSDescriptorManagement_def.yaml#/definitions/NsdInfoModifications" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: # description: > # 409 CONFLICT @@ -439,15 +439,15 @@ paths: # The response body shall contain a ProblemDetails # structure, in which the "detail" attribute shall convey # more information about the error. - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 412: - $ref: "../responses/SOL005_resp.yaml#/responses/412" + $ref: "../responses/SOL005_resp.yaml#/components/responses/412" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" delete: summary: Delete an individual NS descriptor resource. @@ -493,17 +493,17 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: # description: > # 409 CONFLICT @@ -518,13 +518,13 @@ paths: # The response body shall contain a ProblemDetails # structure, in which the "detail" attribute shall convey # more information about the error. - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" ############################################################################### # NSD Archive Content # @@ -630,17 +630,17 @@ paths: # provided according to IETF RFC 7233. # The "Content-Type" HTTP header shall be set as # defined above for the "200 OK" response. - $ref: "../responses/SOL005_resp.yaml#/responses/206" + $ref: "../responses/SOL005_resp.yaml#/components/responses/206" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: # description: > # 406 NOT ACCEPTABLE @@ -652,7 +652,7 @@ paths: # The "ProblemDetails" structure may be included # with the "detail" attribute providing more information # about the error. - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: # description: > # 409 CONFLICT @@ -666,7 +666,7 @@ paths: # The response body shall contain a ProblemDetails # structure, in which the "detail" attribute shall convey # more information about the error. - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 416: # description: > # 416 RANGE NOT SATISFIABLE @@ -676,13 +676,13 @@ paths: # (e.g. "access after end of file"). # The response body may contain a ProblemDetails # structure. - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" put: summary: Upload the content of a NSD. @@ -758,17 +758,17 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: # description: > # 409 CONFLICT @@ -781,13 +781,13 @@ paths: # The response body shall contain a ProblemDetails # structure, in which the "detail" attribute shall convey # more information about the error. - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" ############################################################################### # NSD # @@ -897,25 +897,25 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" ############################################################################### # NSD Archive Manifest # @@ -1017,15 +1017,15 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 409: # description: > # 409 CONFLICT @@ -1039,13 +1039,13 @@ paths: # The response body shall contain a ProblemDetails # structure, in which the "detail" attribute shall convey # more information about the error. - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" ############################################################################### # PNF Descriptors # @@ -1129,23 +1129,23 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" get: summary: Query information about multiple PNF descriptor resources. @@ -1257,23 +1257,23 @@ paths: items: $ref: "definitions/SOL005NSDescriptorManagement_def.yaml#/definitions/PnfdInfo" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" ############################################################################### # Individual PNF Descriptor # @@ -1346,23 +1346,23 @@ paths: schema: $ref: "definitions/SOL005NSDescriptorManagement_def.yaml#/definitions/PnfdInfo" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" patch: summary: Modify the user defined data of an individual PNF descriptor resource. @@ -1427,25 +1427,25 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 412: - $ref: "../responses/SOL005_resp.yaml#/responses/412" + $ref: "../responses/SOL005_resp.yaml#/components/responses/412" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" delete: summary: Delete an individual PNF descriptor resource. @@ -1486,23 +1486,23 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" ############################################################################### # PNFD Archive Content # @@ -1637,17 +1637,17 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: # description: > # 409 CONFLICT @@ -1660,15 +1660,15 @@ paths: # The response body shall contain a ProblemDetails # structure, in which the "detail" attribute shall convey # more information about the error. - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" put: summary: Upload the content of a PNFD. @@ -1743,17 +1743,17 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: # description: > # 409 CONFLICT @@ -1766,11 +1766,11 @@ paths: # The response body shall contain a ProblemDetails # structure, in which the "detail" attribute shall convey # more information about the error. - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # PNFD # @@ -1906,25 +1906,25 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" ############################################################################### # PNFD Archive Manifest # @@ -2031,25 +2031,25 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" ############################################################################### # Subscriptions # @@ -2155,27 +2155,27 @@ paths: # HTTP header that contains the resource URI of # the existing subscription resource. # The response body shall be empty. - $ref: "../responses/SOL005_resp.yaml#/responses/303" + $ref: "../responses/SOL005_resp.yaml#/components/responses/303" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 422: - $ref: "../responses/SOL005_resp.yaml#/responses/422" + $ref: "../responses/SOL005_resp.yaml#/components/responses/422" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" get: summary: Query multiple subscriptions. @@ -2265,23 +2265,23 @@ paths: items: $ref: "definitions/SOL005NSDescriptorManagement_def.yaml#/definitions/NsdmSubscription" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" ############################################################################### # Individual Subscription # @@ -2364,23 +2364,23 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" delete: summary: Terminate Subscription @@ -2431,20 +2431,20 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" \ No newline at end of file + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" \ No newline at end of file diff --git a/src/SOL005/NSDManagementNotification/NSDManagementNotification.yaml b/src/SOL005/NSDManagementNotification/NSDManagementNotification.yaml index 8c836242c9a48d237439144a8d01bcf97c1eb88d..1002059d5adca9918175f609dbaf60bcae0f9193 100644 --- a/src/SOL005/NSDManagementNotification/NSDManagementNotification.yaml +++ b/src/SOL005/NSDManagementNotification/NSDManagementNotification.yaml @@ -99,21 +99,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint @@ -153,21 +153,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Notification endpoint NsdOnBoardingFailureNotification # @@ -239,21 +239,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint @@ -293,21 +293,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Notification endpoint NsdChangeNotification # @@ -379,21 +379,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint @@ -433,21 +433,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Notification endpoint NsdDeletionNotification # @@ -519,21 +519,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint @@ -573,21 +573,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Notification endpoint PnfdOnBoardingNotification # @@ -659,21 +659,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint @@ -713,21 +713,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Notification endpoint PnfdOnBoardingFailureNotification # @@ -799,21 +799,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint @@ -853,21 +853,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Notification endpoint PnfdDeletionNotification # @@ -939,21 +939,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint @@ -993,18 +993,18 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" \ No newline at end of file + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" \ No newline at end of file diff --git a/src/SOL005/NSFaultManagement/NSFaultManagement.yaml b/src/SOL005/NSFaultManagement/NSFaultManagement.yaml index 0f25c5cf4d7c353faeaeac9a198139258c3db398..97e02e3b5cfc5dc438de2c5c566ddd898533d2fb 100644 --- a/src/SOL005/NSFaultManagement/NSFaultManagement.yaml +++ b/src/SOL005/NSFaultManagement/NSFaultManagement.yaml @@ -139,19 +139,19 @@ paths: Alarm: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/Alarm" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Individual alarm # @@ -235,19 +235,19 @@ paths: Alarm: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/Alarm" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" patch: summary: Acknowledge individual alarm. description: > @@ -314,37 +314,23 @@ paths: AlarmModifications: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmModifications" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: - description: > - 409 CONFLICT - - Shall be returned upon the following error: The - operation cannot be executed currently, due to a - conflict with the state of the "Individual alarm" - resource. - Typically, this is due to the fact that the alarm is - already in the state that is requested to be set (such - as trying to acknowledge an already-acknowledged - alarm). - The response body shall contain a ProblemDetails - structure, in which the "detail" attribute shall convey - more information about the error. - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 412: - $ref: "../responses/SOL005_resp.yaml#/responses/412" + $ref: "../responses/SOL005_resp.yaml#/components/responses/412" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################## #Subscriptions # @@ -433,23 +419,23 @@ paths: maximum: 1 minimum: 1 303: - $ref: "../responses/SOL005_resp.yaml#/responses/303" + $ref: "../responses/SOL005_resp.yaml#/components/responses/303" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 422: - $ref: "../responses/SOL005_resp.yaml#/responses/422" + $ref: "../responses/SOL005_resp.yaml#/components/responses/422" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Query multiple subscriptions. description: > @@ -544,21 +530,21 @@ paths: items: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/FmSubscription" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 412: - $ref: "../responses/SOL005_resp.yaml#/responses/412" + $ref: "../responses/SOL005_resp.yaml#/components/responses/412" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Individual subscription # @@ -645,19 +631,19 @@ paths: schema: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/FmSubscription" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" delete: summary: Terminate a subscription. description: > @@ -692,16 +678,16 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" diff --git a/src/SOL005/NSFaultManagementNotification/NSFaultManagementNotification.yaml b/src/SOL005/NSFaultManagementNotification/NSFaultManagementNotification.yaml index 2b3b9afc39b59851c7b184e527a87de77d384f29..6b36fac1c26af3f6a0c0e70c9c80b718b9b68231 100644 --- a/src/SOL005/NSFaultManagementNotification/NSFaultManagementNotification.yaml +++ b/src/SOL005/NSFaultManagementNotification/NSFaultManagementNotification.yaml @@ -95,15 +95,15 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint. description: > @@ -153,21 +153,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" '/URI_is_provided_by_the_client_when_creating_the_subscription-AlarmClearedNotification': #ETSI GS NFV-SOL 005 V2.7.1 location: 8.4.6 @@ -233,15 +233,15 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint. description: > @@ -291,21 +291,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" '/URI_is_provided_by_the_client_when_creating_the_subscription-AlarmListRebuiltNotification': post: @@ -370,15 +370,15 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint. description: > @@ -428,18 +428,18 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" \ No newline at end of file + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" \ No newline at end of file diff --git a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml index e96693cb66c654d85561a1606c6361ac0d75389d..482adca011ec814e7f0bae91efc76d89a16a8533 100644 --- a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml +++ b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml @@ -48,27 +48,27 @@ paths: "200": $ref: '#/components/responses/NsInstances.Get' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 post: summary: Create a NS instance resource. @@ -87,27 +87,27 @@ paths: "201": $ref: '#/components/responses/NsInstances.Post' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /ns_instances/{nsInstanceId}: parameters: @@ -125,25 +125,25 @@ paths: "200": $ref: '#/components/responses/IndividualNsInstance.Get' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 delete: summary: Delete NS instance resource. @@ -156,27 +156,27 @@ paths: "204": $ref: '#/components/responses/IndividualNsInstance.Delete' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "412": - $ref: ../responses/SOL005_resp.yaml#/responses/412 + $ref: ../responses/SOL005_resp.yaml#/components/responses/412 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /ns_instances/{nsInstanceId}/instantiate: parameters: @@ -199,27 +199,27 @@ paths: "202": $ref: '#/components/responses/InstantiateNsInstance.Post' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /ns_instances/{nsInstanceId}/scale: parameters: @@ -242,27 +242,27 @@ paths: "202": $ref: '#/components/responses/ScaleNsInstance.Post' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /ns_instances/{nsInstanceId}/update: parameters: @@ -282,27 +282,27 @@ paths: "202": $ref: '#/components/responses/UpdateNsInstance.Post' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /ns_instances/{nsInstanceId}/heal: parameters: @@ -325,27 +325,27 @@ paths: "202": $ref: '#/components/responses/HealNsInstance.Post' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /ns_instances/{nsInstanceId}/terminate: parameters: @@ -372,27 +372,27 @@ paths: "202": $ref: '#/components/responses/TerminateNsInstance.Post' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /ns_lcm_op_occs: parameters: @@ -416,23 +416,23 @@ paths: "200": $ref: '#/components/responses/NsLcmOpOccs.Get' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /ns_lcm_op_occs/{nsLcmOpOccId}: parameters: @@ -453,25 +453,25 @@ paths: "200": $ref: '#/components/responses/IndividualNsLcmOpOcc.Get' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /ns_lcm_op_occs/{nsLcmOpOccId}/retry: parameters: @@ -489,27 +489,27 @@ paths: "202": $ref: '#/components/responses/NsLcmOpOccRetry.Post' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /ns_lcm_op_occs/{nsLcmOpOccId}/rollback: parameters: @@ -527,27 +527,27 @@ paths: "202": $ref: '#/components/responses/NsLcmOpOccRollback.Post' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /ns_lcm_op_occs/{nsLcmOpOccId}/continue: parameters: @@ -565,27 +565,27 @@ paths: "202": $ref: '#/components/responses/NsLcmOpOccContinue.Post' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/fail: parameters: @@ -603,27 +603,27 @@ paths: "200": $ref: '#/components/responses/NsLcmOpOccFail.Post' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel: parameters: @@ -656,27 +656,27 @@ paths: "202": $ref: '#/components/responses/NsLcmOpOccCancel.Post' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "409": - $ref: ../responses/SOL005_resp.yaml#/responses/409 + $ref: ../responses/SOL005_resp.yaml#/components/responses/409 "416": - $ref: ../responses/SOL005_resp.yaml#/responses/416 + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /subscriptions: parameters: @@ -696,23 +696,23 @@ paths: "200": $ref: '#/components/responses/NsLcmSubscriptions.Get' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 post: summary: Subscribe to NS lifecycle change notifications. @@ -734,27 +734,27 @@ paths: "201": $ref: '#/components/responses/NsLcmSubscriptions.Post' "303": - $ref: ../responses/SOL005_resp.yaml#/responses/303 + $ref: ../responses/SOL005_resp.yaml#/components/responses/303 "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "422": - $ref: ../responses/SOL005_resp.yaml#/responses/422 + $ref: ../responses/SOL005_resp.yaml#/components/responses/422 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 /subscriptions/{subscriptionId}: parameters: @@ -773,23 +773,23 @@ paths: "200": $ref: '#/components/responses/IndividualNsLcmSubscription.Get' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 delete: summary: Terminate a subscription. @@ -804,23 +804,23 @@ paths: "204": $ref: '#/components/responses/IndividualNsLcmSubscription.Delete' "400": - $ref: ../responses/SOL005_resp.yaml#/responses/400 + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 "401": - $ref: ../responses/SOL005_resp.yaml#/responses/401 + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 "403": - $ref: ../responses/SOL005_resp.yaml#/responses/403 + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 "404": - $ref: ../responses/SOL005_resp.yaml#/responses/404 + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 "405": - $ref: ../responses/SOL005_resp.yaml#/responses/405 + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 "406": - $ref: ../responses/SOL005_resp.yaml#/responses/406 + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 "500": - $ref: ../responses/SOL005_resp.yaml#/responses/500 + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 "503": - $ref: ../responses/SOL005_resp.yaml#/responses/503 + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 "504": - $ref: ../responses/SOL005_resp.yaml#/responses/504 + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 components: parameters: diff --git a/src/SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml b/src/SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml index e8f1a96985eec61fbcf5853434d697a7762092b5..25f896579af893138bb60511407b27135f90e84e 100644 --- a/src/SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml +++ b/src/SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml @@ -1,485 +1,368 @@ -swagger: "2.0" +openapi: 3.0.2 info: - version: "1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1" - title: "SOL005 - NS Lifecycle Management Notification interface" - description: > - SOL005 - NS Lifecycle Management Notification interface - IMPORTANT: Please note that this file might be not aligned to the current - version of the ETSI Group Specification it refers to. In case of - discrepancies the published ETSI Group Specification takes precedence. + title: SOL005 - NS Lifecycle Management Notification interface + description: | + SOL005 - NS Lifecycle Management Notification interface IMPORTANT: Please note that this file might be not aligned + to the current version of the ETSI Group Specification it refers to. In case of discrepancies the published ETSI + Group Specification takes precedence. Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis license: - name: "ETSI Forge copyright notice" + name: ETSI Forge copyright notice url: https://forge.etsi.org/etsi-forge-copyright-notice.txt + version: 1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1 externalDocs: - description: ETSI GS NFV-SOL 005 V2.7.1 + description: ETSI GS NFV-SOL 005 V3.3.1 url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/02.07.01_60/gs_NFV-SOL005v020701p.pdf -basePath: /callback/v1 +servers: + - url: http://127.0.0.1/callback/v1 + - url: https://127.0.0.1/callback/v1 -schemes: - - http - - https - -consumes: - - application/json -produces: - - application/json paths: - ################################################################################## - # Notification endpoint NS Lifecycle Management # - ################################################################################## - '/URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification': + /URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification: + parameters: + - $ref: ../components/SOL005_params.yaml#/components/parameters/Version + - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization + get: + summary: Test the notification endpoint. + description: | + The GET method allows the API producer to test the notification endpoint that is provided by the API consumer, + e.g. during subscription. This method shall follow the provisions specified in the Tables 6.4.18.3.2-1 and + 6.4.18.3.2-2 for URI query parameters, request and response data structures, and response codes. + parameters: + - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept + responses: + "204": + $ref: '#/components/responses/NsLcmOperationOccurrenceNotification.Get' + "400": + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 + "401": + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 + "403": + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 + "405": + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 + "406": + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 + "500": + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 + "503": + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 + post: summary: Notify about NS lifecycle change - description: > - The POST method delivers a notification from the API producer to an API consumer. The API consumer shall have - previously created an "Individual subscription" resource with a matching filter. - This method shall follow the provisions specified in the Tables 6.4.18.3.1-1 and 6.4.18.3.1-2 for URI query parameters, - request and response data structures, and response codes. + description: | + The POST method delivers a notification from the API producer to an API consumer. The API consumer shall have + previously created an "Individual subscription" resource with a matching filter. This method shall follow the + provisions specified in the Tables 6.4.18.3.1-1 and 6.4.18.3.1-2 for URI query parameters, request and response + data structures, and response codes. parameters: - - name: NsLcmOperationOccurrenceNotification - description: > - A notification about lifecycle changes triggered by a NS LCM. - operation occurrence. - in: body - required: true - schema: - $ref: "definitions/SOL005NSLifecycleManagementNotification_def.yaml#/definitions/NsLcmOperationOccurrenceNotification" - - name: Accept - description: > - Content-Types that are acceptable for the response. - Reference: IETF RFC 7231 - in: header - required: true - type: string - - name: Authorization - description: > - The authorization token for the request. - Reference: IETF RFC 7235 - in: header - required: false - type: string - - name: Content-Type - description: > - The MIME type of the body of the request. - Reference: IETF RFC 7231 - 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 + - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept + - $ref: ../components/SOL005_params.yaml#/components/parameters/Version + requestBody: + $ref: '#/components/requestBodies/NsLcmOperationOccurrenceNotificationRequest' responses: - 204: - description: > - 204 No Content - - Shall be returned when the notification has been delivered successfully. - headers: - WWW-Authenticate: - type: string - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP request - 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: 1 - 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" - 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" - 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" - 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" - 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" - 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" - 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" - 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + "204": + $ref: '#/components/responses/NsLcmOperationOccurrenceNotification.Post' + "400": + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 + "401": + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 + "403": + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 + "405": + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 + "406": + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 + "500": + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 + "503": + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 + /URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierCreationNotification: + parameters: + - $ref: ../components/SOL005_params.yaml#/components/parameters/Version + - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization get: summary: Test the notification endpoint. - description: > - Query NS Instances. - - The GET method allows the API producer to test the notification endpoint that is provided by the API consumer, e.g. - during subscription. - This method shall follow the provisions specified in the Tables 6.4.18.3.2-1 and 6.4.18.3.2-2 for URI query parameters, - request and response data structures, and response codes. + description: | + The GET method allows the API producer to test the notification endpoint that is provided by the API consumer, + e.g. during subscription. This method shall follow the provisions specified in the Tables 6.4.18.3.2-1 and + 6.4.18.3.2-2 for URI query parameters, request and response data structures, and response codes. parameters: - - name: Accept - description: > - Content-Types that are acceptable for the response. - Reference: IETF RFC 7231 - in: header - required: true - type: string - - name: Authorization - description: > - The authorization token for the request. - Reference: IETF RFC 7235 - 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 + - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept responses: - 204: - description: > - 204 No Content + "204": + $ref: '#/components/responses/NsIdentifierCreationNotification.Get' + "400": + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 + "401": + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 + "403": + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 + "405": + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 + "406": + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 + "500": + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 + "503": + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 - Shall be returned when the notification endpoint has been tested successfully. - The response body shall be empty. - headers: - WWW-Authenticate: - type: string - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP request - 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: 1 - 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" - 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" - 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" - 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" - 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" - 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" - 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" - 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" - - '/URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierCreationNotification': post: summary: Notify about NS lifecycle change - The POST method delivers a notification from the API producer to an API consumer. The API consumer shall have - previously created an "Individual subscription" resource with a matching filter. - This method shall follow the provisions specified in the Tables 6.4.18.3.1-1 and 6.4.18.3.1-2 for URI query parameters, - request and response data structures, and response codes. + description: | + The POST method delivers a notification from the API producer to an API consumer. + The API consumer shall have previously created an "Individual subscription" resource + with a matching filter. This method shall follow the provisions specified in the + Tables 6.4.18.3.1-1 and 6.4.18.3.1-2 for URI query parameters, request and response + data structures, and response codes. parameters: - - name: NsIdentifierCreationNotification - description: > - A notification about the creation of a NS identifier and the related - NS instance resource. - in: body - required: true - schema: - $ref: "definitions/SOL005NSLifecycleManagementNotification_def.yaml#/definitions/NsIdentifierCreationNotification" - - name: Accept - description: > - Content-Types that are acceptable for the response. - Reference: IETF RFC 7231 - in: header - required: true - type: string - - name: Authorization - description: > - The authorization token for the request. - Reference: IETF RFC 7235 - in: header - required: false - type: string - - name: Content-Type - description: > - The MIME type of the body of the request. - Reference: IETF RFC 7231 - 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 + - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept + - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType + requestBody: + $ref: '#/components/requestBodies/NsIdentifierCreationNotificationRequest' responses: - 204: - description: > - 204 No Content - - Shall be returned when the notification has been delivered successfully. - headers: - WWW-Authenticate: - type: string - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP request - 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: 1 - 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" - 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" - 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" - 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" - 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" - 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" - 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" - 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + "204": + $ref: '#/components/responses/NsIdentifierCreationNotification.Post' + "400": + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 + "401": + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 + "403": + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 + "405": + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 + "406": + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 + "500": + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 + "503": + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 + /URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierDeletionNotification: + parameters: + - $ref: ../components/SOL005_params.yaml#/components/parameters/Version + - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization get: summary: Test the notification endpoint. - description: > + description: | Query NS Instances. - - The GET method allows the API producer to test the notification endpoint that is provided by the API consumer, e.g. - during subscription. - This method shall follow the provisions specified in the Tables 6.4.18.3.2-1 and 6.4.18.3.2-2 for URI query parameters, - request and response data structures, and response codes. + The GET method allows the API producer to test the notification endpoint that is provided by the API consumer, + e.g. during subscription. This method shall follow the provisions specified in the Tables 6.4.18.3.2-1 and + 6.4.18.3.2-2 for URI query parameters, request and response data structures, and response codes. parameters: - - name: Accept - description: > - Content-Types that are acceptable for the response. - Reference: IETF RFC 7231 - in: header - required: true - type: string - - name: Authorization - description: > - The authorization token for the request. - Reference: IETF RFC 7235 - 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 + - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept responses: - 204: - description: > - 204 No Content - - Shall be returned when the notification endpoint has been tested successfully. - The response body shall be empty. - headers: - WWW-Authenticate: - type: string - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP request - 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: 1 - 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" - 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" - 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" - 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" - 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" - 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" - 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" - 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + "204": + $ref: '#/components/responses/NsIdentifierDeletionNotification.Get' + "400": + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 + "401": + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 + "403": + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 + "405": + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 + "406": + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 + "500": + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 + "503": + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 - '/URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierDeletionNotification': post: summary: Notify about NS lifecycle change - description: > - The POST method delivers a notification from the API producer to an API consumer. The API consumer shall have - previously created an "Individual subscription" resource with a matching filter. - This method shall follow the provisions specified in the Tables 6.4.18.3.1-1 and 6.4.18.3.1-2 for URI query parameters, - request and response data structures, and response codes. - + description: | + The POST method delivers a notification from the API producer to an API consumer. + The API consumer shall have previously created an "Individual subscription" resource + with a matching filter. This method shall follow the provisions specified in the + Tables 6.4.18.3.1-1 and 6.4.18.3.1-2 for URI query parameters, request and response + data structures, and response codes. parameters: - - name: NsIdentifierDeletionNotification - description: > - A notification about the deletion of a NS identifier and the related - NS instance resource. - in: body - required: true - schema: - $ref: "definitions/SOL005NSLifecycleManagementNotification_def.yaml#/definitions/NsIdentifierDeletionNotification" - - name: Accept - description: > - Content-Types that are acceptable for the response. - Reference: IETF RFC 7231 - in: header - required: true - type: string - - name: Authorization - description: > - The authorization token for the request. - Reference: IETF RFC 7235 - in: header - required: false - type: string - - name: Content-Type - description: > - The MIME type of the body of the request. - Reference: IETF RFC 7231 - 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 + - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept + - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType + requestBody: + $ref: '#/components/requestBodies/NsIdentifierDeletionNotificationRequest' responses: - 204: - description: > - 204 No Content + "204": + $ref: '#/components/responses/NsIdentifierDeletionNotification.Post' + "400": + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 + "401": + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 + "403": + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 + "405": + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 + "406": + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 + "500": + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 + "503": + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 + +components: + requestBodies: + NsLcmOperationOccurrenceNotificationRequest: + description: | + A notification about lifecycle changes triggered by a NS LCM. operation occurrence. + content: + application/json: + schema: + $ref: ./definitions/SOL005NSLifecycleManagementNotification_def.yaml#/definitions/NsLcmOperationOccurrenceNotification' + required: true - Shall be returned when the notification has been delivered successfully. - headers: - WWW-Authenticate: - type: string - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP request - 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: 1 - 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" - 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" - 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" - 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" - 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" - 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" - 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" - 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + NsIdentifierCreationNotificationRequest: + description: | + A notification about the creation of a NS identifier and the related NS instance resource. + content: + application/json: + schema: + $ref: ./definitions/SOL005NSLifecycleManagementNotification_def.yaml#/definitions/NsIdentifierCreationNotification + required: true - get: - summary: Test the notification endpoint. - description: > - Query NS Instances. + NsIdentifierDeletionNotificationRequest: + description: | + A notification about the deletion of a NS identifier and the related NS instance resource. + content: + application/json: + schema: + $ref: ./definitions/SOL005NSLifecycleManagementNotification_def.yaml#/definitions/NsIdentifierDeletionNotification + required: true + + responses: + NsLcmOperationOccurrenceNotification.Get: + description: | + 204 No Content + Shall be returned when the notification endpoint has been tested successfully. + The response body shall be empty. + headers: + Version: + description: | + Version of the API used in the response. + style: simple + explode: false + schema: + type: string + WWW-Authenticate: + description: | + Challenge if the corresponding HTTP request has not provided authorization, or error details if the + corresponding HTTP request has provided an invalid authorization token. + style: simple + explode: false + schema: + type: string + content: {} + + NsLcmOperationOccurrenceNotification.Post: + description: | + 204 No Content + Shall be returned when the notification has been delivered successfully. + headers: + Version: + description: | + Version of the API used in the response. + style: simple + explode: false + schema: + type: string + WWW-Authenticate: + description: | + Challenge if the corresponding HTTP request has not provided authorization, or error details if the + corresponding HTTP request has provided an invalid authorization token. + style: simple + explode: false + schema: + type: string + content: {} - The GET method allows the API producer to test the notification endpoint that is provided by the API consumer, e.g. - during subscription. - This method shall follow the provisions specified in the Tables 6.4.18.3.2-1 and 6.4.18.3.2-2 for URI query parameters, - request and response data structures, and response codes. - parameters: - - name: Accept - description: > - Content-Types that are acceptable for the response. - Reference: IETF RFC 7231 - in: header - required: true - type: string - - name: Authorization - description: > - The authorization token for the request. - Reference: IETF RFC 7235 - 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: > - 204 No Content + NsIdentifierCreationNotification.Get: + description: | + 204 No Content + Shall be returned when the notification endpoint has been tested successfully. The response body shall be empty. + headers: + Version: + description: | + Version of the API used in the response. + style: simple + explode: false + schema: + type: string + WWW-Authenticate: + description: | + Challenge if the corresponding HTTP request has not provided authorization, or error details if the + corresponding HTTP request has provided an invalid authorization token. + style: simple + explode: false + schema: + type: string + content: {} - Shall be returned when the notification endpoint has been tested successfully. - The response body shall be empty. - headers: - WWW-Authenticate: - type: string - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP request - 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: 1 - 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" - 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" - 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" - 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" - 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" - 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" - 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" - 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" \ No newline at end of file + NsIdentifierCreationNotification.Post: + description: | + 204 No Content + Shall be returned when the notification has been delivered successfully. + headers: + Version: + description: | + Version of the API used in the response. + style: simple + explode: false + schema: + type: string + WWW-Authenticate: + description: | + Challenge if the corresponding HTTP request has not provided authorization, or error details if the + corresponding HTTP request has provided an invalid authorization token. + style: simple + explode: false + schema: + type: string + content: {} + + NsIdentifierDeletionNotification.Get: + description: | + 204 No Content + Shall be returned when the notification endpoint has been tested successfully. The response body shall be empty. + headers: + Version: + description: | + Version of the API used in the response. + style: simple + explode: false + schema: + type: string + WWW-Authenticate: + description: | + Challenge if the corresponding HTTP request has not provided authorization, or error details if the + corresponding HTTP request has provided an invalid authorization token. + style: simple + explode: false + schema: + type: string + content: {} + + NsIdentifierDeletionNotification.Post: + description: | + 204 No Content + Shall be returned when the notification has been delivered successfully. + headers: + Version: + description: | + Version of the API used in the response. + style: simple + explode: false + schema: + type: string + WWW-Authenticate: + description: | + Challenge if the corresponding HTTP request has not provided authorization, or error details if the + corresponding HTTP request has provided an invalid authorization token. + style: simple + explode: false + schema: + type: string + content: {} \ No newline at end of file diff --git a/src/SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml b/src/SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml index ab293551c88a41b0a3b691516c766bbb6bda1d1b..988e3440b29e383e3efa95a8956d479fb85b33c8 100644 --- a/src/SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml +++ b/src/SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml @@ -125,21 +125,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Query PM jobs. @@ -260,21 +260,21 @@ paths: items: $ref: "definitions/SOL005NSPerformanceManagement_def.yaml#/definitions/PmJob" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Individual PM job # @@ -349,21 +349,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" patch: summary: Modify a PM job. @@ -412,23 +412,23 @@ paths: schema: $ref: "definitions/SOL005NSPerformanceManagement_def.yaml#/definitions/PmJobModifications" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 412: - $ref: "../responses/SOL005_resp.yaml#/responses/412" + $ref: "../responses/SOL005_resp.yaml#/components/responses/412" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" delete: summary: Delete a PM job. @@ -462,21 +462,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Individual performance report # @@ -555,21 +555,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Thresholds # @@ -661,21 +661,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Query thresholds. @@ -754,21 +754,21 @@ paths: items: $ref: "definitions/SOL005NSPerformanceManagement_def.yaml#/definitions/Threshold" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Individual threshold # @@ -848,21 +848,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" patch: summary: Modify a Threshold @@ -908,23 +908,23 @@ paths: schema: $ref: "definitions/SOL005NSPerformanceManagement_def.yaml#/definitions/ThresholdModifications" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 412: - $ref: "../responses/SOL005_resp.yaml#/responses/412" + $ref: "../responses/SOL005_resp.yaml#/components/responses/412" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" delete: summary: Delete a Threshold. @@ -964,21 +964,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Subscriptions # @@ -1072,23 +1072,23 @@ paths: # maximum: 1 # minimum: 1 # 303: -# $ref: "../responses/SOL005_resp.yaml#/responses/303" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/303" # 400: -# $ref: "../responses/SOL005_resp.yaml#/responses/400" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/400" # 401: -# $ref: "../responses/SOL005_resp.yaml#/responses/401" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/401" # 403: -# $ref: "../responses/SOL005_resp.yaml#/responses/403" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/403" # 404: -# $ref: "../responses/SOL005_resp.yaml#/responses/404" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/404" # 405: -# $ref: "../responses/SOL005_resp.yaml#/responses/405" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/405" # 406: -# $ref: "../responses/SOL005_resp.yaml#/responses/406" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/406" # 500: -# $ref: "../responses/SOL005_resp.yaml#/responses/500" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/500" # 503: -# $ref: "../responses/SOL005_resp.yaml#/responses/503" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/503" # # get: # summary: Query PM related subscriptions. @@ -1174,21 +1174,21 @@ paths: # items: # $ref: "definitions/SOL005NSPerformanceManagement_def.yaml#/definitions/PmSubscription" # 400: -# $ref: "../responses/SOL005_resp.yaml#/responses/400" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/400" # 401: -# $ref: "../responses/SOL005_resp.yaml#/responses/401" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/401" # 403: -# $ref: "../responses/SOL005_resp.yaml#/responses/403" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/403" # 404: -# $ref: "../responses/SOL005_resp.yaml#/responses/404" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/404" # 405: -# $ref: "../responses/SOL005_resp.yaml#/responses/405" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/405" # 406: -# $ref: "../responses/SOL005_resp.yaml#/responses/406" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/406" # 500: -# $ref: "../responses/SOL005_resp.yaml#/responses/500" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/500" # 503: -# $ref: "../responses/SOL005_resp.yaml#/responses/503" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Individual subscription # @@ -1266,21 +1266,21 @@ paths: # maximum: 1 # minimum: 1 # 400: -# $ref: "../responses/SOL005_resp.yaml#/responses/400" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/400" # 401: -# $ref: "../responses/SOL005_resp.yaml#/responses/401" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/401" # 403: -# $ref: "../responses/SOL005_resp.yaml#/responses/403" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/403" # 404: -# $ref: "../responses/SOL005_resp.yaml#/responses/404" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/404" # 405: -# $ref: "../responses/SOL005_resp.yaml#/responses/405" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/405" # 406: -# $ref: "../responses/SOL005_resp.yaml#/responses/406" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/406" # 500: -# $ref: "../responses/SOL005_resp.yaml#/responses/500" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/500" # 503: -# $ref: "../responses/SOL005_resp.yaml#/responses/503" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/503" # # delete: # summary: Terminate a subscription. @@ -1328,18 +1328,18 @@ paths: # maximum: 1 # minimum: 1 # 400: -# $ref: "../responses/SOL005_resp.yaml#/responses/400" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/400" # 401: -# $ref: "../responses/SOL005_resp.yaml#/responses/401" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/401" # 403: -# $ref: "../responses/SOL005_resp.yaml#/responses/403" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/403" # 404: -# $ref: "../responses/SOL005_resp.yaml#/responses/404" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/404" # 405: -# $ref: "../responses/SOL005_resp.yaml#/responses/405" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/405" # 406: -# $ref: "../responses/SOL005_resp.yaml#/responses/406" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/406" # 500: -# $ref: "../responses/SOL005_resp.yaml#/responses/500" +# $ref: "../responses/SOL005_resp.yaml#/components/responses/500" # 503: -# $ref: "../responses/SOL005_resp.yaml#/responses/503" \ No newline at end of file +# $ref: "../responses/SOL005_resp.yaml#/components/responses/503" \ No newline at end of file diff --git a/src/SOL005/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml b/src/SOL005/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml index 469ba341964406a7c3d6647d68d0206f651c5159..6a442714a11f64de30d1b14afc00cd4b444d26e9 100644 --- a/src/SOL005/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml +++ b/src/SOL005/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml @@ -102,21 +102,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint @@ -159,21 +159,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ################################################################################## # Notification endpoint ThresholdCrossedNotification # @@ -247,21 +247,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint @@ -304,18 +304,18 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" \ No newline at end of file + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" \ No newline at end of file diff --git a/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml b/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml index 871aae853fb9919e5d47f515a72ca61b2376015b..12711be4f5629dfdd7e97bf44e35d8207755b227 100644 --- a/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml +++ b/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml @@ -117,27 +117,27 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" 504: - $ref: "../responses/SOL005_resp.yaml#/responses/504" + $ref: "../responses/SOL005_resp.yaml#/components/responses/504" get: summary: Query VNF packages information. description: > @@ -250,23 +250,23 @@ paths: VnfPkgInfo: $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/VnfPkgInfo" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Individual VNF Package # @@ -335,23 +335,23 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" patch: summary: Update information about an individual VNF package. description: > @@ -407,23 +407,23 @@ paths: VnfPkgInfoModifications: $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/VnfPkgInfoModifications" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" delete: summary: Delete an individual VNF package. description: > @@ -443,25 +443,25 @@ paths: maximum: 1 minimum: 1 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # VNFD in an individual VNF package # @@ -559,25 +559,25 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Access Configuration for external artifacts # @@ -654,23 +654,23 @@ paths: ExternalArtifactsAccessConfig: $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/ExternalArtifactsAccessConfig" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" put: summary: Download the content of external VNF package artifacts. description: > @@ -737,27 +737,27 @@ paths: ExternalArtifactsAccessConfig: $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/ExternalArtifactsAccessConfig" 202: - $ref: "../responses/SOL005_resp.yaml#/responses/202" + $ref: "../responses/SOL005_resp.yaml#/components/responses/202" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Manifest in an individual VNF package # @@ -853,25 +853,25 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # VNF Package Content # @@ -960,27 +960,27 @@ paths: maximum: 1 minimum: 1 206: - $ref: "../responses/SOL005_resp.yaml#/responses/206" + $ref: "../responses/SOL005_resp.yaml#/components/responses/206" 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" put: summary: Upload a VNF package by providing the content of the VNF package. description: > @@ -1032,23 +1032,23 @@ paths: maximum: 1 minimum: 1 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # VNF package artifact # @@ -1233,25 +1233,25 @@ paths: maximum: 1 minimum: 0 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Upload VNF package from URI task # @@ -1322,23 +1322,23 @@ paths: maximum: 1 minimum: 1 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Individual VNF package artifact # @@ -1500,25 +1500,25 @@ paths: maximum: 1 minimum: 0 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 409: - $ref: "../responses/SOL005_resp.yaml#/responses/409" + $ref: "../responses/SOL005_resp.yaml#/components/responses/409" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Subscriptions # @@ -1611,27 +1611,27 @@ paths: schema: $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/PkgmSubscription" 303: - $ref: "../responses/SOL005_resp.yaml#/responses/303" + $ref: "../responses/SOL005_resp.yaml#/components/responses/303" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 422: - $ref: "../responses/SOL005_resp.yaml#/responses/422" + $ref: "../responses/SOL005_resp.yaml#/components/responses/422" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Query multiple subscriptions. description: > @@ -1703,23 +1703,23 @@ paths: items: $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/PkgmSubscription" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" ############################################################################### # Individual subscription # @@ -1795,23 +1795,23 @@ paths: schema: $ref: "definitions/SOL005VNFPackageManagement_def.yaml#/definitions/PkgmSubscription" 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" delete: summary: Terminate a subscription. description: > @@ -1846,20 +1846,20 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 416: - $ref: "../responses/SOL005_resp.yaml#/responses/416" + $ref: "../responses/SOL005_resp.yaml#/components/responses/416" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" diff --git a/src/SOL005/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml b/src/SOL005/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml index 18364dc7b8cb7fc976451cd2ac8ad52ea157027e..82b5222df44e05ab286ed848ca0f873b4d5cf4d6 100644 --- a/src/SOL005/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml +++ b/src/SOL005/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml @@ -89,15 +89,15 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint. @@ -148,21 +148,21 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 404: - $ref: "../responses/SOL005_resp.yaml#/responses/404" + $ref: "../responses/SOL005_resp.yaml#/components/responses/404" 405: - $ref: "../responses/SOL005_resp.yaml#/responses/405" + $ref: "../responses/SOL005_resp.yaml#/components/responses/405" 406: - $ref: "../responses/SOL005_resp.yaml#/responses/406" + $ref: "../responses/SOL005_resp.yaml#/components/responses/406" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" '/URI_is_provided_by_the_client_when_creating_the_subscription-VnfPackageChangeNotification': post: @@ -230,15 +230,15 @@ paths: maximum: 1 minimum: 1 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" get: summary: Test the notification endpoint @@ -274,12 +274,12 @@ paths: The notification endpoint was tested successfully. The response body shall be empty. 400: - $ref: "../responses/SOL005_resp.yaml#/responses/400" + $ref: "../responses/SOL005_resp.yaml#/components/responses/400" 401: - $ref: "../responses/SOL005_resp.yaml#/responses/401" + $ref: "../responses/SOL005_resp.yaml#/components/responses/401" 403: - $ref: "../responses/SOL005_resp.yaml#/responses/403" + $ref: "../responses/SOL005_resp.yaml#/components/responses/403" 500: - $ref: "../responses/SOL005_resp.yaml#/responses/500" + $ref: "../responses/SOL005_resp.yaml#/components/responses/500" 503: - $ref: "../responses/SOL005_resp.yaml#/responses/503" \ No newline at end of file + $ref: "../responses/SOL005_resp.yaml#/components/responses/503" \ No newline at end of file diff --git a/src/SOL005/endpoints/SOL005_endpoints.yaml b/src/SOL005/endpoints/SOL005_endpoints.yaml index b5ee389c3ae71e6fb92cb92dcf1893c4ad9a7ffa..c544e8cb5c02fcb1b16ae9b3499fa93500dac98f 100644 --- a/src/SOL005/endpoints/SOL005_endpoints.yaml +++ b/src/SOL005/endpoints/SOL005_endpoints.yaml @@ -1,14 +1,10 @@ # Copyright (c) ETSI 2017. # https://forge.etsi.org/etsi-forge-copyright-notice.txt + endpoints: api-versions: parameters: - - name: Version - description: > - Version of the API requested to use when responding to this request. - in: header - required: false - type: string + - $ref: ../components/SOL005_params.yaml#/components/parameters/Version get: summary: Retrieve API version information description: > @@ -16,35 +12,60 @@ endpoints: table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not supported. responses: - 200: - description: > - API version information was read successfully. - The response body shall contain 4.4 API version - information, as defined in clause 4.4.1.13. + "200": + $ref: '#/components/responses/ApiVersions.Get' + "400": + $ref: ../responses/SOL005_resp.yaml#/components/responses/400 + "401": + $ref: ../responses/SOL005_resp.yaml#/components/responses/401 + "403": + $ref: ../responses/SOL005_resp.yaml#/components/responses/403 + "404": + $ref: ../responses/SOL005_resp.yaml#/components/responses/404 + "405": + $ref: ../responses/SOL005_resp.yaml#/components/responses/405 + "406": + $ref: ../responses/SOL005_resp.yaml#/components/responses/406 + "413": + $ref: ../responses/SOL005_resp.yaml#/components/responses/413 + "414": + $ref: ../responses/SOL005_resp.yaml#/components/responses/414 + "416": + $ref: ../responses/SOL005_resp.yaml#/components/responses/416 + "422": + $ref: ../responses/SOL005_resp.yaml#/components/responses/422 + "429": + $ref: ../responses/SOL005_resp.yaml#/components/responses/429 + "500": + $ref: ../responses/SOL005_resp.yaml#/components/responses/500 + "503": + $ref: ../responses/SOL005_resp.yaml#/components/responses/503 + "504": + $ref: ../responses/SOL005_resp.yaml#/components/responses/504 + +components: + responses: + ApiVersions.Get: + description: > + 200 OK + + API version information was read successfully. + The response body shall contain 4.4 API version + information, as defined in clause 4.4.1.13. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + Version: + description: The used API version. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: schema: - $ref: '../definitions/SOL005_def.yaml#/definitions/ApiVersionInformation' - headers: - Content-Type: - description: The MIME type of the body of the response. - type: string - maximum: 1 - minimum: 1 - Version: - description: The used API version. - type: string - maximum: 1 - minimum: 1 - 400: { $ref: '../responses/SOL005_resp.yaml#/responses/400' } - 401: { $ref: '../responses/SOL005_resp.yaml#/responses/401' } - 403: { $ref: '../responses/SOL005_resp.yaml#/responses/403' } - 404: { $ref: '../responses/SOL005_resp.yaml#/responses/404' } - 405: { $ref: '../responses/SOL005_resp.yaml#/responses/405' } - 406: { $ref: '../responses/SOL005_resp.yaml#/responses/406' } - 413: { $ref: '../responses/SOL005_resp.yaml#/responses/413' } - 414: { $ref: '../responses/SOL005_resp.yaml#/responses/414' } - 416: { $ref: '../responses/SOL005_resp.yaml#/responses/416' } - 422: { $ref: '../responses/SOL005_resp.yaml#/responses/422' } - 429: { $ref: '../responses/SOL005_resp.yaml#/responses/429' } - 500: { $ref: '../responses/SOL005_resp.yaml#/responses/500' } - 503: { $ref: '../responses/SOL005_resp.yaml#/responses/503' } - 504: { $ref: '../responses/SOL005_resp.yaml#/responses/504' } \ No newline at end of file + $ref: '../definitions/SOL005_def.yaml#/definitions/ApiVersionInformation' \ No newline at end of file diff --git a/src/SOL005/responses/SOL005_resp.yaml b/src/SOL005/responses/SOL005_resp.yaml index ad3ab578f658a909634927b48eac0acee59092b7..6bbb21ec20731cfdf19dd1a3c2ca9ce64e186bd1 100644 --- a/src/SOL005/responses/SOL005_resp.yaml +++ b/src/SOL005/responses/SOL005_resp.yaml @@ -1,690 +1,691 @@ # Copyright (c) ETSI 2017. # https://forge.etsi.org/etsi-forge-copyright-notice.txt -responses: - 202: - description: > - 202 ACCEPTED - headers: - Content-Type: - description: The MIME type of the body of the response. - type: string - maximum: 1 - minimum: 1 - Location: - description: The resource URI of the created NS instance - type: string - format: url - maximum: 1 - minimum: 0 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - type: string - maximum: 1 - minimum: 1 - - 206: - description: > - 206 PARTIAL CONTENT - headers: - Content-Type: - description: > - The MIME type of the body of the response. - schema: +components: + responses: + 202: + description: > + 202 ACCEPTED + headers: + Content-Type: + description: The MIME type of the body of the response. type: string maximum: 1 minimum: 1 - Content-Range: - description: > - The Content-Range response HTTP header indicates where in a full body message a partial message belongs. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 303: - description: > - 303 See Other - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - - 400: - description: > - 400 BAD REQUEST - - 400 code can be returned in the following specified cases, the specific cause has to be proper specified in the - "ProblemDetails" structure to be returned. - - If the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect - query parameters or the payload body contains a syntactically incorrect data structure), - the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, - and should include in the "detail" attribute more information about the source of the problem. - - If the response to a GET request which queries a container resource would be so big that the performance - of the API producer is adversely affected, and the API producer does not support paging for the affected resource, - it shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include - in the "detail" attribute more information about the source of the problem. - - If there is an application error related to the client's input that cannot be easily mapped to any other - HTTP response code ("catch all error"), the API producer shall respond with this response code. - The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information - about the source of the problem. - - If the request contains a malformed access token, the API producer should respond with this response. - The details of the error shall be returned in the WWW Authenticate HTTP header, as defined in IETF RFC 6750 - and IETF RFC 7235. The ProblemDetails structure may be provided. - - The use of this HTTP error response code described above is applicable to the use of the OAuth 2.0 - for the authorization of API requests and notifications, as defined in clauses 4.5.3.3 and 4.5.3.4. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 401: - description: > - 401 UNAUTHORIZED - - If the request contains no access token even though one is required, or if the request contains an authorization - token that is invalid (e.g. expired or revoked), the API producer should respond with this response. - The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 - and IETF RFC 7235. The ProblemDetails structure may be provided. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: + Location: + description: The resource URI of the created NS instance type: string + format: url maximum: 1 minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 403: - description: > - 403 FORBIDDEN - - If the API consumer is not allowed to perform a particular request to a particular resource, - the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided. - It should include in the "detail" attribute information about the source of the problem, - and may indicate how to solve it. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. type: string maximum: 1 minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 404: - description: > - 404 NOT FOUND - - If the API producer did not find a current representation for the resource addressed by the URI passed - in the request or is not willing to disclose that one exists, it shall respond with this response code. - The "ProblemDetails" structure may be provided, including in the "detail" attribute information about - the source of the problem, e.g. a wrong resource URI variable. - - This response code is not appropriate in case the resource addressed by the URI is a container resource - which is designed to contain child resources, but does not contain any child resource at the time - the request is received. For a GET request to an existing empty container resource, a typical response - contains a 200 OK response code and a payload body with an empty array. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 405: - description: > - 405 METHOD NOT ALLOWED - - If a particular HTTP method is not supported for a particular resource, the API producer shall respond - with this response code. The "ProblemDetails" structure may be omitted. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 406: - description: > - 406 NOT ACCEPTABLE - - If the "Accept" HTTP header does not contain at least one name of a content type - that is acceptable to the API producer, the API producer shall respond with this - response code. The "ProblemDetails" structure may be omitted. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 409: - description: > - 409 CONFLICT - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 412: - description: > - 412 PRECONDITION FAILED - - Error: A precondition given in an HTTP request header is not fulfilled. - Typically, this is due to an ETag mismatch, indicating that the resource was modified by another entity. - The response body should contain a ProblemDetails structure, in which the "detail" attribute should convey - more information about the error. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 413: - description: > - 413 PAYLOAD TOO LARGE - - If the payload body of a request is larger than the amount of data the API producer is willing or able to process, - it shall respond with this response code, following the provisions in IETF RFC 7231 for the use - of the "Retry-After" HTTP header and for closing the connection. The "ProblemDetails" structure may be omitted. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 414: - description: > - 414 URI TOO LONG - - If the request URI of a request is longer than the API producer is willing or able to process, - it shall respond with this response code. This condition can e.g. be caused by passing long queries - in the request URI of a GET request. The "ProblemDetails" structure may be omitted. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 416: - description: > - 416 Range Not Satisfiable - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 422: - description: > - 422 UNPROCESSABLE ENTITY - - If the payload body of a request contains syntactically correct data (e.g. well-formed JSON) but the data - cannot be processed (e.g. because it fails validation against a schema), the API producer shall respond - with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" - attribute more information about the source of the problem. - - This error response code is only applicable for methods that have a request body. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 429: - description: > - 429 TOO MANY REQUESTS - - If the API consumer has sent too many requests in a defined period of time and the API producer is able - to detect that condition ("rate limiting"), the API producer shall respond with this response code, - following the provisions in IETF RFC 6585 [17] for the use of the "Retry-After" HTTP header. - The "ProblemDetails" structure shall be provided and shall include in the "detail" attribute more information - about the source of the problem. - - The period of time and allowed number of requests are configured within the API producer by means - outside the scope of the present document. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 500: - description: > - 500 INTERNAL SERVER ERROR - - If there is an application error not related to the client's input that cannot be easily mapped to any other - HTTP response code ("catch all error"), the API producer shall respond with this response code. - The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information - about the source of the problem. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 503: - description: > - 503 SERVICE UNAVAILABLE - - If the API producer encounters an internal overload situation of itself or of a system it relies on, - it should respond with this response code, following the provisions in IETF RFC 7231 for the use of - the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" - structure may be omitted. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" - - 504: - description: > - 504 GATEWAY TIMEOUT - - If the API producer encounters a timeout while waiting for a response from an upstream server - (i.e. a server that the API producer communicates with when fulfilling a request), it should respond - with this response code. - headers: - Content-Type: - description: The MIME type of the body of the response. - schema: - type: string - maximum: 1 - minimum: 1 - WWW-Authenticate: - description: > - Challenge if the corresponding HTTP request has not provided - authorization, or error details if the corresponding HTTP - request has provided an invalid authorization token. - schema: - type: string - maximum: 1 - minimum: 0 - Version: - description: > - Version of the API used in the response. - schema: - type: string - maximum: 1 - minimum: 1 - content: - application/json: - schema: - $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" \ No newline at end of file + Version: + description: > + Version of the API used in the response. + type: string + maximum: 1 + minimum: 1 + + 206: + description: > + 206 PARTIAL CONTENT + headers: + Content-Type: + description: > + The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + Content-Range: + description: > + The Content-Range response HTTP header indicates where in a full body message a partial message belongs. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 303: + description: > + 303 See Other + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + + 400: + description: > + 400 BAD REQUEST + + 400 code can be returned in the following specified cases, the specific cause has to be proper specified in the + "ProblemDetails" structure to be returned. + + If the request is malformed or syntactically incorrect (e.g. if the request URI contains incorrect + query parameters or the payload body contains a syntactically incorrect data structure), + the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided, + and should include in the "detail" attribute more information about the source of the problem. + + If the response to a GET request which queries a container resource would be so big that the performance + of the API producer is adversely affected, and the API producer does not support paging for the affected resource, + it shall respond with this response code. The "ProblemDetails" structure shall be provided, and should include + in the "detail" attribute more information about the source of the problem. + + If there is an application error related to the client's input that cannot be easily mapped to any other + HTTP response code ("catch all error"), the API producer shall respond with this response code. + The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information + about the source of the problem. + + If the request contains a malformed access token, the API producer should respond with this response. + The details of the error shall be returned in the WWW Authenticate HTTP header, as defined in IETF RFC 6750 + and IETF RFC 7235. The ProblemDetails structure may be provided. + + The use of this HTTP error response code described above is applicable to the use of the OAuth 2.0 + for the authorization of API requests and notifications, as defined in clauses 4.5.3.3 and 4.5.3.4. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 401: + description: > + 401 UNAUTHORIZED + + If the request contains no access token even though one is required, or if the request contains an authorization + token that is invalid (e.g. expired or revoked), the API producer should respond with this response. + The details of the error shall be returned in the WWW-Authenticate HTTP header, as defined in IETF RFC 6750 + and IETF RFC 7235. The ProblemDetails structure may be provided. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 403: + description: > + 403 FORBIDDEN + + If the API consumer is not allowed to perform a particular request to a particular resource, + the API producer shall respond with this response code. The "ProblemDetails" structure shall be provided. + It should include in the "detail" attribute information about the source of the problem, + and may indicate how to solve it. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 404: + description: > + 404 NOT FOUND + + If the API producer did not find a current representation for the resource addressed by the URI passed + in the request or is not willing to disclose that one exists, it shall respond with this response code. + The "ProblemDetails" structure may be provided, including in the "detail" attribute information about + the source of the problem, e.g. a wrong resource URI variable. + + This response code is not appropriate in case the resource addressed by the URI is a container resource + which is designed to contain child resources, but does not contain any child resource at the time + the request is received. For a GET request to an existing empty container resource, a typical response + contains a 200 OK response code and a payload body with an empty array. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 405: + description: > + 405 METHOD NOT ALLOWED + + If a particular HTTP method is not supported for a particular resource, the API producer shall respond + with this response code. The "ProblemDetails" structure may be omitted. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 406: + description: > + 406 NOT ACCEPTABLE + + If the "Accept" HTTP header does not contain at least one name of a content type + that is acceptable to the API producer, the API producer shall respond with this + response code. The "ProblemDetails" structure may be omitted. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 409: + description: > + 409 CONFLICT + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 412: + description: > + 412 PRECONDITION FAILED + + Error: A precondition given in an HTTP request header is not fulfilled. + Typically, this is due to an ETag mismatch, indicating that the resource was modified by another entity. + The response body should contain a ProblemDetails structure, in which the "detail" attribute should convey + more information about the error. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 413: + description: > + 413 PAYLOAD TOO LARGE + + If the payload body of a request is larger than the amount of data the API producer is willing or able to process, + it shall respond with this response code, following the provisions in IETF RFC 7231 for the use + of the "Retry-After" HTTP header and for closing the connection. The "ProblemDetails" structure may be omitted. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 414: + description: > + 414 URI TOO LONG + + If the request URI of a request is longer than the API producer is willing or able to process, + it shall respond with this response code. This condition can e.g. be caused by passing long queries + in the request URI of a GET request. The "ProblemDetails" structure may be omitted. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 416: + description: > + 416 Range Not Satisfiable + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 422: + description: > + 422 UNPROCESSABLE ENTITY + + If the payload body of a request contains syntactically correct data (e.g. well-formed JSON) but the data + cannot be processed (e.g. because it fails validation against a schema), the API producer shall respond + with this response code. The "ProblemDetails" structure shall be provided, and should include in the "detail" + attribute more information about the source of the problem. + + This error response code is only applicable for methods that have a request body. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 429: + description: > + 429 TOO MANY REQUESTS + + If the API consumer has sent too many requests in a defined period of time and the API producer is able + to detect that condition ("rate limiting"), the API producer shall respond with this response code, + following the provisions in IETF RFC 6585 [17] for the use of the "Retry-After" HTTP header. + The "ProblemDetails" structure shall be provided and shall include in the "detail" attribute more information + about the source of the problem. + + The period of time and allowed number of requests are configured within the API producer by means + outside the scope of the present document. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 500: + description: > + 500 INTERNAL SERVER ERROR + + If there is an application error not related to the client's input that cannot be easily mapped to any other + HTTP response code ("catch all error"), the API producer shall respond with this response code. + The "ProblemDetails" structure shall be provided, and shall include in the "detail" attribute more information + about the source of the problem. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 503: + description: > + 503 SERVICE UNAVAILABLE + + If the API producer encounters an internal overload situation of itself or of a system it relies on, + it should respond with this response code, following the provisions in IETF RFC 7231 for the use of + the "Retry-After" HTTP header and for the alternative to refuse the connection. The "ProblemDetails" + structure may be omitted. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" + + 504: + description: > + 504 GATEWAY TIMEOUT + + If the API producer encounters a timeout while waiting for a response from an upstream server + (i.e. a server that the API producer communicates with when fulfilling a request), it should respond + with this response code. + headers: + Content-Type: + description: The MIME type of the body of the response. + schema: + type: string + maximum: 1 + minimum: 1 + WWW-Authenticate: + description: > + Challenge if the corresponding HTTP request has not provided + authorization, or error details if the corresponding HTTP + request has provided an invalid authorization token. + schema: + type: string + maximum: 1 + minimum: 0 + Version: + description: > + Version of the API used in the response. + schema: + type: string + maximum: 1 + minimum: 1 + content: + application/json: + schema: + $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" \ No newline at end of file