Fix swagger file links
Issue-ID: POLICY-4829
Change-Id: I7d8f3ec6ff53eb63d35d5584e4289b07efe48880
Signed-off-by: saul.gill <saul.gill@est.tech>
diff --git a/runtime-acm/src/main/resources/application-stub.yaml b/runtime-acm/src/main/resources/application-stub.yaml
index 3f519a2..3737f4d 100644
--- a/runtime-acm/src/main/resources/application-stub.yaml
+++ b/runtime-acm/src/main/resources/application-stub.yaml
@@ -6,7 +6,7 @@
deleteCompositionInstanceResponse: "/openapi/examples/deleteCompositionInstanceResponse.json"
getAllCompositionDefinitions: "/openapi/examples/getAllCompositionDefinitions.json"
getAllCompositionInstancesResponse: "/openapi/examples/getAllCompositionInstancesResponse.json"
- getCompositionInstancesResponse: "/openapi/examples/getCompositionInstancesResponse.json"
+ getCompositionInstancesResponse: "/openapi/examples/getCompositionInstanceResponse.json"
getSingleCompositionDefinition: "/openapi/examples/getSingleCompositionDefinition.json"
getSingleParticipantResponse: "/openapi/examples/getSingleParticipantResponse.json"
getMultipleParticipantResponse: "/openapi/examples/getMultipleParticipantResponse.json"
diff --git a/runtime-acm/src/main/resources/openapi/examples/getCompositionInstancesResponse.json b/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.json
similarity index 100%
rename from runtime-acm/src/main/resources/openapi/examples/getCompositionInstancesResponse.json
rename to runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.json
diff --git a/runtime-acm/src/main/resources/openapi/examples/getCompositionInstancesResponse.yaml b/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.yaml
similarity index 100%
rename from runtime-acm/src/main/resources/openapi/examples/getCompositionInstancesResponse.yaml
rename to runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.yaml
diff --git a/runtime-acm/src/main/resources/openapi/examples/getMultiParticipantResponse.yaml b/runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.yaml
similarity index 100%
rename from runtime-acm/src/main/resources/openapi/examples/getMultiParticipantResponse.yaml
rename to runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.yaml
diff --git a/runtime-acm/src/main/resources/openapi/examples/getSingleparticipantResponse.yaml b/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml
similarity index 100%
rename from runtime-acm/src/main/resources/openapi/examples/getSingleparticipantResponse.yaml
rename to runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml
diff --git a/runtime-acm/src/main/resources/openapi/examples/putAcIntanceStateUpdate.yaml b/runtime-acm/src/main/resources/openapi/examples/putAcInstanceStateUpdate.yaml
similarity index 100%
rename from runtime-acm/src/main/resources/openapi/examples/putAcIntanceStateUpdate.yaml
rename to runtime-acm/src/main/resources/openapi/examples/putAcInstanceStateUpdate.yaml
diff --git a/runtime-acm/src/main/resources/openapi/openapi.yaml b/runtime-acm/src/main/resources/openapi/openapi.yaml
index 42ddd8c..74f1d48 100644
--- a/runtime-acm/src/main/resources/openapi/openapi.yaml
+++ b/runtime-acm/src/main/resources/openapi/openapi.yaml
@@ -91,14 +91,14 @@
items:
$ref: '#/components/schemas/ParticipantInformation'
example:
- externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultiParticipantResponse.json'
+ externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.json'
application/yaml:
schema:
type: array
items:
$ref: '#/components/schemas/ParticipantInformation'
example:
- externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultiParticipantResponse.yaml'
+ externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.yaml'
401:
description: Authentication Error, returns an instance of
[SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
@@ -265,7 +265,7 @@
schema:
$ref: '#/components/schemas/ToscaServiceTemplate'
example:
- externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getParticipantResponse.yaml'
+ externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml'
401:
description: Authentication Error, returns an instance of
[SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
@@ -1136,12 +1136,12 @@
schema:
$ref: '#/components/schemas/InstantiationResponse'
example:
- externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstancesResponse.json'
+ externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceResponse.json'
application/yaml:
schema:
$ref: '#/components/schemas/InstantiationResponse'
example:
- externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstancesResponse.yaml'
+ externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceResponse.yaml'
401:
description: Authentication Error, returns an instance of
[SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)