From: saul.gill Date: Wed, 27 Sep 2023 10:14:19 +0000 (+0100) Subject: Fix swagger file links X-Git-Tag: 7.0.1~17 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=3398b96f53bd1c5f9926a88db996abbbfe1da500;p=policy%2Fclamp.git Fix swagger file links Issue-ID: POLICY-4829 Change-Id: I7d8f3ec6ff53eb63d35d5584e4289b07efe48880 Signed-off-by: saul.gill --- diff --git a/runtime-acm/src/main/resources/application-stub.yaml b/runtime-acm/src/main/resources/application-stub.yaml index 3f519a23c..3737f4dc0 100644 --- a/runtime-acm/src/main/resources/application-stub.yaml +++ b/runtime-acm/src/main/resources/application-stub.yaml @@ -6,7 +6,7 @@ stub: 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 42ddd8cd1..74f1d4874 100644 --- a/runtime-acm/src/main/resources/openapi/openapi.yaml +++ b/runtime-acm/src/main/resources/openapi/openapi.yaml @@ -91,14 +91,14 @@ paths: 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 @@ paths: 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 @@ paths: 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)