Commit 68d7fbac authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

updated more responses data types

parent a0763b34
Pipeline #2229 running with stage
in 0 seconds
......@@ -38,7 +38,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/nextpage_opaque_marker"
responses:
"200":
$ref: '#/components/responses/Alarms.get'
$ref: '#/components/responses/Alarms.Get'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -74,7 +74,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: '#/components/responses/Alarm.get'
$ref: '#/components/responses/Alarm.Get'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -110,7 +110,7 @@ paths:
$ref: "#/components/requestBodies/AlarmModifications"
responses:
"200":
$ref: '#/components/responses/Alarm.patch'
$ref: '#/components/responses/Alarm.Patch'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -165,7 +165,7 @@ paths:
$ref: "#/components/requestBodies/FmSubscriptionRequest"
responses:
"201":
$ref: '#/components/responses/Subscriptions.post'
$ref: '#/components/responses/Subscriptions.Post'
"303":
$ref: ../components/SOL009_resp.yaml#/components/responses/303
"400":
......@@ -204,7 +204,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/nextpage_opaque_marker"
responses:
"200":
$ref: '#/components/responses/Subscriptions.get'
$ref: '#/components/responses/Subscriptions.Get'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -241,7 +241,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: '#/components/responses/Subscription.get'
$ref: '#/components/responses/Subscription.Get'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -279,7 +279,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"204":
$ref: '#/components/responses/Subscription.delete'
$ref: '#/components/responses/Subscription.Delete'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -478,7 +478,7 @@ components:
required: true
responses:
Alarms.get:
Alarms.Get:
description: >
200 OK
......@@ -520,7 +520,7 @@ components:
items:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/Alarm"
Alarm.get:
Alarm.Get:
description: >
200 OK
......@@ -540,7 +540,7 @@ components:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/Alarm"
Alarm.patch:
Alarm.Patch:
description: >
200 OK
......@@ -569,7 +569,7 @@ components:
schema:
$ref: "#/components/schemas/AlarmModifications"
Subscriptions.post:
Subscriptions.Post:
description: >
201 CREATED
......@@ -607,7 +607,7 @@ components:
schema:
$ref: "#/components/schemas/FmSubscription"
Subscriptions.get:
Subscriptions.Get:
description: >
200 OK
......@@ -659,7 +659,7 @@ components:
items:
$ref: "#/components/schemas/FmSubscription"
Subscription.get:
Subscription.Get:
description: >
200 OK
......@@ -695,7 +695,7 @@ components:
schema:
$ref: "#/components/schemas/FmSubscription"
Subscription.delete:
Subscription.Delete:
description: >
204 NO CONTENT
......
......@@ -46,7 +46,7 @@ paths:
$ref: "#/components/requestBodies/CreateLoggingJobRequest"
responses:
"201":
$ref: '#/components/responses/LoggingJob.post'
$ref: '#/components/responses/LoggingJob.Post'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -84,7 +84,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: '#/components/responses/LoggingJobs.get'
$ref: '#/components/responses/LoggingJobs.Get'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -124,7 +124,7 @@ paths:
responses:
"200":
$ref: '#/components/responses/LoggingJob.get'
$ref: '#/components/responses/LoggingJob.Get'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -158,7 +158,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"204":
$ref: '#/components/responses/LoggingJob.delete'
$ref: '#/components/responses/LoggingJob.Delete'
"400":
$ref: '../components/SOL009_resp.yaml#/components/responses/400'
"401":
......@@ -201,9 +201,9 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: '#/components/responses/LogReport.get.200'
$ref: '#/components/responses/LogReport.Get.200'
"202":
$ref: '#/components/responses/LogReport.get.202'
$ref: '#/components/responses/LogReport.Get.202'
"400":
$ref: '../components/SOL009_resp.yaml#/components/responses/400'
"401":
......@@ -251,13 +251,13 @@ paths:
$ref: "#/components/requestBodies/CompileLogRequest"
responses:
"200":
$ref: '#/components/responses/LogReportCompiled.post.200'
$ref: '#/components/responses/LogReportCompiled.Post.200'
"202":
$ref: '#/components/responses/LogReportCompiled.post.202'
$ref: '#/components/responses/LogReportCompiled.Post.202'
"303":
$ref: '#/components/responses/LogReportCompiled.post.303'
$ref: '#/components/responses/LogReportCompiled.Post.303'
"422":
$ref: '#/components/responses/LogReportCompiled.post.422'
$ref: '#/components/responses/LogReportCompiled.Post.422'
"400":
$ref: '../components/SOL009_resp.yaml#/components/responses/400'
"401":
......@@ -304,9 +304,9 @@ paths:
$ref: '#/components/requestBodies/LogmSubscriptionRequest'
responses:
"201":
$ref: '#/components/responses/LogmSubscription.post.201'
$ref: '#/components/responses/LogmSubscription.Post.201'
"303":
$ref: '#/components/responses/LogmSubscription.post.303'
$ref: '#/components/responses/LogmSubscription.Post.303'
"422":
$ref: '../components/SOL009_resp.yaml#/components/responses/422'
"400":
......@@ -342,7 +342,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: '#/components/responses/LogmSubscriptions.get.200'
$ref: '#/components/responses/LogmSubscriptions.Get.200'
"400":
$ref: '../components/SOL009_resp.yaml#/components/responses/400'
"401":
......@@ -381,7 +381,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: '#/components/responses/LogmSubscription.get.200'
$ref: '#/components/responses/LogmSubscription.Get.200'
"400":
$ref: '../components/SOL009_resp.yaml#/components/responses/400'
"401":
......@@ -416,7 +416,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"204":
$ref: '#/components/responses/LogmSubscription.delete'
$ref: '#/components/responses/LogmSubscription.Delete'
"400":
$ref: '../components/SOL009_resp.yaml#/components/responses/400'
"401":
......@@ -492,7 +492,7 @@ components:
required: true
responses:
LogmSubscription.delete:
LogmSubscription.Delete:
description: >-
Shall be returned when the "Individual subscription" resource has been deleted successfully.
The response body shall be empty.
......@@ -514,7 +514,7 @@ components:
schema:
type: string
LogmSubscription.get.200:
LogmSubscription.Get.200:
description: >-
Shall be returned when the subscription has been read successfully.
The response body shall contain a representation of the "Individual subscription" resource,
......@@ -541,7 +541,7 @@ components:
schema:
$ref: "#/components/schemas/LogmSubscription"
LogmSubscriptions.get.200:
LogmSubscriptions.Get.200:
description: >-
Shall be returned when the list of subscriptions has been queried successfully.
The response body shall contain in an array the representations of all active subscriptions of
......@@ -576,7 +576,7 @@ components:
items:
$ref: "#/components/schemas/LogmSubscription"
LogmSubscription.post.201:
LogmSubscription.Post.201:
description: >-
Shall be returned when the subscription has been created successfully.
A representation of the created "Individual subscription" resource shall be returned in the response body,
......@@ -610,7 +610,7 @@ components:
schema:
$ref: "#/components/schemas/LogmSubscription"
LogmSubscription.post.303:
LogmSubscription.Post.303:
description: >-
Shall be returned when a subscription with the same callbackURI and the same filter already exists and the
policy of the NFV-MANO functional entity is to not create redundant subscriptions.
......@@ -640,7 +640,7 @@ components:
schema:
type: string
LogReportCompiled.post.200:
LogReportCompiled.Post.200:
description: >-
Shall be returned for a successful compilation of the log data and creation of the associated log report
(synchronous mode).
......@@ -674,7 +674,7 @@ components:
schema:
$ref: "#/components/schemas/LogReport"
LogReportCompiled.post.202:
LogReportCompiled.Post.202:
description: >-
Shall be returned when the request has been accepted for processing, and it is expected to take some
time to compile the log file and create the associated log report (asynchronous mode).
......@@ -705,7 +705,7 @@ components:
schema:
type: string
LogReportCompiled.post.303:
LogReportCompiled.Post.303:
description: >-
Shall be returned when a log data compilation and report creation is already ongoing, or a log report has just been
created, for the specified logging job at the time of processing the request.
......@@ -736,7 +736,7 @@ components:
schema:
type: string
LogReportCompiled.post.422:
LogReportCompiled.Post.422:
description: >-
The general cause for this error and its handling is specified in clause 6.4 of ETSI GS NFV-SOL 013,
including rules for the presence of the response body.
......@@ -767,7 +767,7 @@ components:
schema:
$ref: '../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails'
LogReport.get.200:
LogReport.Get.200:
description: >-
Shall be returned when information of an individual log report has been read successfully.
The response body shall contain a representation of the "Individual log report" resource, as
......@@ -794,7 +794,7 @@ components:
schema:
$ref: "#/components/schemas/LogReport"
LogReport.get.202:
LogReport.Get.202:
description: >-
Shall be returned if the creation of the log report is ongoing and no log report is available yet
(applicable in asynchronous mode of the "Compile log task" resource).
......@@ -817,7 +817,7 @@ components:
schema:
type: string
LoggingJob.get:
LoggingJob.Get:
description: >-
Shall be returned when information about an individual logging job has been read successfully.
The response body shall contain a representation of the "Individual logging job" resource,
......@@ -844,7 +844,7 @@ components:
schema:
$ref: "#/components/schemas/LoggingJob"
LoggingJob.delete:
LoggingJob.Delete:
description: >-
Shall be returned when the logging job has been deleted successfully.
The response body shall be empty.
......@@ -862,7 +862,7 @@ components:
schema:
type: string
LoggingJob.post:
LoggingJob.Post:
description: >-
The response body contains the Application Context as it was created
by the MEC system
......@@ -888,7 +888,7 @@ components:
schema:
$ref: "#/components/schemas/LoggingJob"
LoggingJobs.get:
LoggingJobs.Get:
description: >-
Shall be returned when information about zero or more logging jobs has been queried successfully.
......
Supports Markdown
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