summaryrefslogtreecommitdiffstats
path: root/runtime-acm/src/main/resources/openapi/openapi.yaml
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2022-12-09 14:38:10 +0000
committerFrancesco Fiora <francesco.fiora@est.tech>2022-12-12 08:18:38 +0000
commit5e0f7912ac694eef2d283aab61a659470b4ba3e5 (patch)
treeb83a930736ab7ed1edd01931466e8fb3846277df /runtime-acm/src/main/resources/openapi/openapi.yaml
parent8554cbb864e32495214fd8287011868a832cc997 (diff)
Link the existing InstantiationController with the generated code
Issue-ID: POLICY-4467 Change-Id: Ibe9206ee4189e73357271211d83b0603edfb86da Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'runtime-acm/src/main/resources/openapi/openapi.yaml')
-rw-r--r--runtime-acm/src/main/resources/openapi/openapi.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime-acm/src/main/resources/openapi/openapi.yaml b/runtime-acm/src/main/resources/openapi/openapi.yaml
index de7b26ead..65d2c6b08 100644
--- a/runtime-acm/src/main/resources/openapi/openapi.yaml
+++ b/runtime-acm/src/main/resources/openapi/openapi.yaml
@@ -968,14 +968,12 @@ paths:
content:
application/json:
schema:
- title: InstantiationUpdate
- type: object
+ $ref: '#/components/schemas/InstantiationUpdate'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putCompositionInstanceUpdate.json'
application/yaml:
schema:
- title: InstantiationUpdate
- type: object
+ $ref: '#/components/schemas/InstantiationUpdate'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putCompositionInstanceUpdate.yaml'
required: true
@@ -1228,6 +1226,9 @@ components:
CommissioningResponse:
title: CommissioningResponse
type: object
+ InstantiationUpdate:
+ title: InstantiationUpdate
+ type: object
InstantiationResponse:
title: InstantiationResponse
type: object