Commit 90a35965 authored by Michele Carignani's avatar Michele Carignani Committed by Gerrit Code Review
Browse files

Merge "Correction of Bug 67"

parents eb69b1a4 73b617b1
...@@ -23,7 +23,7 @@ function validate_api () { ...@@ -23,7 +23,7 @@ function validate_api () {
echo "--- Merging file." echo "--- Merging file."
merged_file="../build/${deliverable}-${api}-API.yaml" merged_file="../build/${deliverable}-${api}-API.yaml"
json_file="../build/${deliverable}-${api}-API.json" json_file="../build/${deliverable}-${api}-API.json"
json-refs resolve "${file}" > "${merged_file}" json-refs --filter relative resolve "${file}" > "${merged_file}"
yaml2json "${merged_file}" > "${json_file}" yaml2json "${merged_file}" > "${json_file}"
# Create the PDF version # Create the PDF version
......
...@@ -82,7 +82,7 @@ paths: ...@@ -82,7 +82,7 @@ paths:
maximum: 1 maximum: 1
minimum: 1 minimum: 1
schema: schema:
$ref: "../definitions/SOL003_def.yaml#/definitions/Alarm" $ref: "#/definitions/Alarm"
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400-attr-based-filtering-error" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400-attr-based-filtering-error"
401: 401:
...@@ -156,7 +156,7 @@ paths: ...@@ -156,7 +156,7 @@ paths:
maximum: 1 maximum: 1
minimum: 1 minimum: 1
schema: schema:
$ref: "../definitions/SOL003_def.yaml#/definitions/Alarm" $ref: "#/definitions/Alarm"
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
...@@ -183,7 +183,7 @@ paths: ...@@ -183,7 +183,7 @@ paths:
in: body in: body
required: true required: true
schema: schema:
$ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/AlarmModifications" $ref: "#/definitions/AlarmModifications"
- name: Accept - name: Accept
description: > description: >
Content-Types that are acceptable for the response. Content-Types that are acceptable for the response.
...@@ -232,7 +232,7 @@ paths: ...@@ -232,7 +232,7 @@ paths:
maximum: 1 maximum: 1
minimum: 0 minimum: 0
schema: schema:
$ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/AlarmModifications" $ref: "#/definitions/AlarmModifications"
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
...@@ -278,7 +278,7 @@ paths: ...@@ -278,7 +278,7 @@ paths:
in: body in: body
required: true required: true
schema: schema:
$ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscriptionRequest" $ref: "#/definitions/FmSubscriptionRequest"
- name: Accept - name: Accept
description: > description: >
Content-Types that are acceptable for the response. Content-Types that are acceptable for the response.
...@@ -331,7 +331,7 @@ paths: ...@@ -331,7 +331,7 @@ paths:
maximum: 1 maximum: 1
minimum: 0 minimum: 0
schema: schema:
$ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription" $ref: "#/definitions/FmSubscription"
303: 303:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/303" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/303"
400: 400:
...@@ -403,7 +403,7 @@ paths: ...@@ -403,7 +403,7 @@ paths:
maximum: 1 maximum: 1
minimum: 0 minimum: 0
schema: schema:
$ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription" $ref: "#/definitions/FmSubscription"
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400-attr-based-filtering-error" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400-attr-based-filtering-error"
401: 401:
...@@ -490,7 +490,7 @@ paths: ...@@ -490,7 +490,7 @@ paths:
maximum: 1 maximum: 1
minimum: 0 minimum: 0
schema: schema:
$ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription" $ref: "#/definitions/FmSubscription"
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
...@@ -549,3 +549,16 @@ paths: ...@@ -549,3 +549,16 @@ 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"
###############################################################################
# Definitions #
###############################################################################
definitions:
Alarm:
$ref: "../definitions/SOL003_def.yaml#/definitions/Alarm"
AlarmModifications:
$ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/AlarmModifications"
FmSubscription:
$ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription"
FmSubscriptionRequest:
$ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscriptionRequest"
\ 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