Use generated API interface for Swagger 79/132679/1
authorliamfallon <liam.fallon@est.tech>
Mon, 12 Dec 2022 16:42:24 +0000 (16:42 +0000)
committerliamfallon <liam.fallon@est.tech>
Mon, 12 Dec 2022 17:28:14 +0000 (17:28 +0000)
commit7ed786054f394c9ea745cb41061d81c370435736
tree735d72dca53d2dedb0180942859968fc766f536f
parent555445562f24224ac5333b32345adff62f2c0c4c
Use generated API interface for Swagger

This commit removes the Swagger V2 annotations on the
NodeTemplateController in policy-api. The OpeApi annotations (Swagger
v3 annotations) are on a generated Java Interface. The code is changed
so that the controller implements that interface.

There are no code changes tot he controller except that the order of the
parameters is switched in some cases.

Issue-ID: POLICY-4404
Change-Id: Iab49c7f3f197a85d3314a879d39fe2c95be041b8
Signed-off-by: liamfallon <liam.fallon@est.tech>
main/pom.xml
main/src/main/java/org/onap/policy/api/main/rest/NodeTemplateController.java
main/src/main/resources/openapi/openapi.yaml
pom.xml