diff options
author | lapentafd <francesco.lapenta@est.tech> | 2023-04-14 12:41:20 +0100 |
---|---|---|
committer | lapentafd <francesco.lapenta@est.tech> | 2023-04-14 12:41:25 +0100 |
commit | f0e3c821b57cbb531f4d3f17d687fc3386d3a22e (patch) | |
tree | 5eb5363406796dc5c2b4918e3061d950f96308e7 /runtime-acm/src/main/resources/openapi/openapi.yaml | |
parent | 9f1fdf9f419c1724a9cf75a20fdd24df191766bd (diff) |
Update Example files for Swagger document
Issue-ID: POLICY-4581
Change-Id: I0db74d45694c7f8d4d0113dbc81d8adb9b55f59a
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Diffstat (limited to 'runtime-acm/src/main/resources/openapi/openapi.yaml')
-rw-r--r-- | runtime-acm/src/main/resources/openapi/openapi.yaml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime-acm/src/main/resources/openapi/openapi.yaml b/runtime-acm/src/main/resources/openapi/openapi.yaml index c060fba3f..c9b6e1f7c 100644 --- a/runtime-acm/src/main/resources/openapi/openapi.yaml +++ b/runtime-acm/src/main/resources/openapi/openapi.yaml @@ -71,7 +71,7 @@ paths: responses: 200: description: OK, serialised array of instances of - [ParticipantInformation](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/ParticipantInformation.java) + [ParticipantInformation](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/ParticipantInformation.java) that contains information on participants with their information and status. Each participant entry contains a list of AC Element types on the participant. Each AC Element type entry contains a list of AC Element instances on the Participant. @@ -96,14 +96,14 @@ paths: items: $ref: '#/components/schemas/ParticipantInformation' example: - externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getParticipantInformation.json' + externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultiParticipantResponse.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/getParticipantInformation.yaml' + externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultiParticipantResponse.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) @@ -235,7 +235,7 @@ paths: responses: 200: description: Serialised instance of - [ParticipantInformation](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/ParticipantInformation.java) + [ParticipantInformation](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/ParticipantInformation.java) that information on the participant with its information and status. The participant entry contains a list of AC Element types on the participant. Each AC Element type entry contains a list of AC Element instances on the Participant. @@ -258,12 +258,12 @@ paths: schema: $ref: '#/components/schemas/ParticipantInformation' example: - externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantInformation.json' + externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.json' application/yaml: schema: $ref: '#/components/schemas/ToscaServiceTemplate' example: - externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getParticipantInformation.yaml' + externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getParticipantResponse.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) |