From 3398b96f53bd1c5f9926a88db996abbbfe1da500 Mon Sep 17 00:00:00 2001 From: "saul.gill" Date: Wed, 27 Sep 2023 11:14:19 +0100 Subject: [PATCH] Fix swagger file links Issue-ID: POLICY-4829 Change-Id: I7d8f3ec6ff53eb63d35d5584e4289b07efe48880 Signed-off-by: saul.gill --- runtime-acm/src/main/resources/application-stub.yaml | 2 +- ...tancesResponse.json => getCompositionInstanceResponse.json} | 0 ...tancesResponse.yaml => getCompositionInstanceResponse.yaml} | 0 ...cipantResponse.yaml => getMultipleParticipantResponse.yaml} | 0 ...ticipantResponse.yaml => getSingleParticipantResponse.yaml} | 0 ...AcIntanceStateUpdate.yaml => putAcInstanceStateUpdate.yaml} | 0 runtime-acm/src/main/resources/openapi/openapi.yaml | 10 +++++----- 7 files changed, 6 insertions(+), 6 deletions(-) rename runtime-acm/src/main/resources/openapi/examples/{getCompositionInstancesResponse.json => getCompositionInstanceResponse.json} (100%) rename runtime-acm/src/main/resources/openapi/examples/{getCompositionInstancesResponse.yaml => getCompositionInstanceResponse.yaml} (100%) rename runtime-acm/src/main/resources/openapi/examples/{getMultiParticipantResponse.yaml => getMultipleParticipantResponse.yaml} (100%) rename runtime-acm/src/main/resources/openapi/examples/{getSingleparticipantResponse.yaml => getSingleParticipantResponse.yaml} (100%) rename runtime-acm/src/main/resources/openapi/examples/{putAcIntanceStateUpdate.yaml => putAcInstanceStateUpdate.yaml} (100%) 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) -- 2.16.6