Fix swagger file links 49/136049/1
authorsaul.gill <saul.gill@est.tech>
Wed, 27 Sep 2023 10:14:19 +0000 (11:14 +0100)
committersaul.gill <saul.gill@est.tech>
Wed, 27 Sep 2023 10:14:21 +0000 (11:14 +0100)
Issue-ID: POLICY-4829
Change-Id: I7d8f3ec6ff53eb63d35d5584e4289b07efe48880
Signed-off-by: saul.gill <saul.gill@est.tech>
runtime-acm/src/main/resources/application-stub.yaml
runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.json [moved from runtime-acm/src/main/resources/openapi/examples/getCompositionInstancesResponse.json with 100% similarity]
runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.yaml [moved from runtime-acm/src/main/resources/openapi/examples/getCompositionInstancesResponse.yaml with 100% similarity]
runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.yaml [moved from runtime-acm/src/main/resources/openapi/examples/getMultiParticipantResponse.yaml with 100% similarity]
runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml [moved from runtime-acm/src/main/resources/openapi/examples/getSingleparticipantResponse.yaml with 100% similarity]
runtime-acm/src/main/resources/openapi/examples/putAcInstanceStateUpdate.yaml [moved from runtime-acm/src/main/resources/openapi/examples/putAcIntanceStateUpdate.yaml with 100% similarity]
runtime-acm/src/main/resources/openapi/openapi.yaml

index 3f519a2..3737f4d 100644 (file)
@@ -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"
index 42ddd8c..74f1d48 100644 (file)
@@ -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)