Commit cbb9cf54 authored by moscatelli's avatar moscatelli
Browse files

SOL003_94/SOL003_95: responses description fixed

parent a84eab39
Pipeline #1176 passed with stage
in 0 seconds
...@@ -45,13 +45,11 @@ paths: ...@@ -45,13 +45,11 @@ paths:
'/URI-is-provided-by-the-client-when-creating-the-subscription-VnfLcmOperationOccurrenceNotification': '/URI-is-provided-by-the-client-when-creating-the-subscription-VnfLcmOperationOccurrenceNotification':
post: post:
description: > description: >
Notify Notify.
The POST method delivers a notification from the server to the client. The POST method delivers a notification from the server to the client.
parameters: parameters:
- name: VnfLcmOperationOccurrenceNotification - name: VnfLcmOperationOccurrenceNotification
description: A notification about on-boarding of a VNF package. description: A notification about lifecycle changes triggered by a VNF LCM operation occurrence..
in: body in: body
required: true required: true
schema: schema:
...@@ -81,7 +79,7 @@ paths: ...@@ -81,7 +79,7 @@ paths:
description: > description: >
204 NO CONTENT 204 NO CONTENT
The notification was delivered successfully. Shall be returned when the notification has been delivered successfully.
headers: headers:
WWW-Authenticate: WWW-Authenticate:
description: > description: >
...@@ -103,8 +101,6 @@ paths: ...@@ -103,8 +101,6 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
403: 403:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
404:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
405: 405:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
406: 406:
...@@ -113,21 +109,73 @@ paths: ...@@ -113,21 +109,73 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
503: 503:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
get:
description: >
The GET method allows the server to test the notification endpoint
that is provided by the client, e.g. during subscription.
parameters:
- 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
The notification endpoint was tested successfully.
headers:
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
400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
403:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
405:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
406:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
500:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
503:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
############################################################################### ###############################################################################
# Notification endpoint VnfIdentifierCreationNotification # # Notification endpoint VnfIdentifierCreationNotification #
############################################################################### ###############################################################################
'/URI-is-provided-by-the-client-when-creating-the-subscription-VnfIdentifierCreationNotification': '/URI-is-provided-by-the-client-when-creating-the-subscription-VnfIdentifierCreationNotification':
post: post:
description: > description: >
Notify Notify.
The POST method delivers a notification from the server to the client. The POST method delivers a notification from the server to the client.
parameters: parameters:
- name: VnfIdentifierCreationNotification - name: VnfIdentifierCreationNotification
description: > description: >
A notification about the creation of a VNF identifier and the A notification about the creation of a VNF identifier and the related "Individual VNF instance" resource.
related VNF instance resource.
in: body in: body
required: true required: true
schema: schema:
...@@ -157,7 +205,7 @@ paths: ...@@ -157,7 +205,7 @@ paths:
description: > description: >
204 NO CONTENT 204 NO CONTENT
The notification was delivered successfully. Shall be returned when the notification has been delivered successfully.
headers: headers:
WWW-Authenticate: WWW-Authenticate:
description: > description: >
...@@ -179,8 +227,6 @@ paths: ...@@ -179,8 +227,6 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
403: 403:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
404:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
405: 405:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
406: 406:
...@@ -189,21 +235,73 @@ paths: ...@@ -189,21 +235,73 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
503: 503:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
get:
description: >
The GET method allows the server to test the notification endpoint
that is provided by the client, e.g. during subscription.
parameters:
- 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
The notification endpoint was tested successfully.
headers:
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
400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
403:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
405:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
406:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
500:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
503:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
############################################################################### ###############################################################################
# Notification endpoint VnfIdentifierDeletionNotification # # Notification endpoint VnfIdentifierDeletionNotification #
############################################################################### ###############################################################################
'/URI-is-provided-by-the-client-when-creating-the-subscription-VnfIdentifierDeletionNotification': '/URI-is-provided-by-the-client-when-creating-the-subscription-VnfIdentifierDeletionNotification':
post: post:
description: > description: >
Notify Notify.
The POST method delivers a notification from the server to the client. The POST method delivers a notification from the server to the client.
parameters: parameters:
- name: VnfIdentifierDeletionNotification - name: VnfIdentifierDeletionNotification
description: > description: >
A notification about the deletion of a VNF identifier and the A notification about the deletion of a VNF identifier and the related "Individual VNF instance" resource.
related VNF instance resource.
in: body in: body
required: true required: true
schema: schema:
...@@ -233,7 +331,7 @@ paths: ...@@ -233,7 +331,7 @@ paths:
description: > description: >
204 NO CONTENT 204 NO CONTENT
The notification was delivered successfully. Shall be returned when the notification has been delivered successfully.
headers: headers:
WWW-Authenticate: WWW-Authenticate:
description: > description: >
...@@ -255,8 +353,6 @@ paths: ...@@ -255,8 +353,6 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
403: 403:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
404:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
405: 405:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
406: 406:
...@@ -265,3 +361,57 @@ paths: ...@@ -265,3 +361,57 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
503: 503:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
get:
description: >
The GET method allows the server to test the notification endpoint
that is provided by the client, e.g. during subscription.
parameters:
- 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
The notification endpoint was tested successfully.
headers:
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
400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
403:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
405:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
406:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
500:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
503:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment