From cf5af3fd2e67b0aef402114a0f3ae263fdfc7efe Mon Sep 17 00:00:00 2001 From: liamfallon Date: Thu, 1 Dec 2022 15:24:57 +0000 Subject: Replace SpringFox with SpringDoc in CLAMP This commit: - Remove springfox from CLAMP - updates the commissioning, AC Element, and K8S particiapnt to use the generated interface rather than the hard coded one - removes swagger annotations from handwritten code - implements SpringDoc for the /v3/api-docs on endpoints Issue-ID: POLICY-4404 Change-Id: I49f48bc7828cb49dab854ef9ed16a9aa377983e1 Signed-off-by: liamfallon --- .../participant-impl-acelement/pom.xml | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'participant/participant-impl/participant-impl-acelement/pom.xml') diff --git a/participant/participant-impl/participant-impl-acelement/pom.xml b/participant/participant-impl/participant-impl-acelement/pom.xml index 0349dfd64..9ff4d109a 100644 --- a/participant/participant-impl/participant-impl-acelement/pom.xml +++ b/participant/participant-impl/participant-impl-acelement/pom.xml @@ -35,6 +35,36 @@ + + io.swagger.codegen.v3 + swagger-codegen-maven-plugin + ${version.swagger.codegen.v3} + + + code-gen + + generate + + + ${project.basedir}/src/main/resources/openapi/openapi.yaml + org.onap.policy.clamp.acm.runtime.main.rest + org.onap.policy.clamp.acm.element.main.rest.genapi + spring + false + false + + ElementConfig=org.onap.policy.clamp.models.acm.messages.rest.element.ElementConfig + + + src/gen/java + java11 + true + true + + + + + org.springframework.boot spring-boot-maven-plugin -- cgit 1.2.3-korg