Replace SpringFox with SpringDoc in policy-pap 44/132644/1
authorliamfallon <liam.fallon@est.tech>
Thu, 8 Dec 2022 18:44:09 +0000 (18:44 +0000)
committerliamfallon <liam.fallon@est.tech>
Thu, 8 Dec 2022 18:44:13 +0000 (18:44 +0000)
commit5ac400df6381d2f275e0359cb06c7904eddf1faf
tree2a3ac7b8d6382d6d572f6034e46e57f699a6143c
parent64e5fee5475ff3172caa98b00d719ce5f1308b5d
Replace SpringFox with SpringDoc in policy-pap

This commit:
- Remove SpringFox
- Adds SpringDoc
- Enables the .../v3/api-docs endpoint

Note that the Swagger annotations from the OpenAPI specification
generated code need to be enabled so that the API specification is
available over the ..../v3/api-docs endpoint. THis will be done in
subsequent commits.

Issue-ID: POLICY-4404
Change-Id: I42c1575a3ce76d9b3e753ad51f85df027d12b980
Signed-off-by: liamfallon <liam.fallon@est.tech>
main/pom.xml
main/src/main/java/org/onap/policy/pap/main/PolicyPapApplication.java
main/src/main/java/org/onap/policy/pap/main/config/SpringDocBean.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/CommonPapRestServer.java
main/src/test/java/org/onap/policy/pap/main/rest/PapRestControllerV1Test.java
main/src/test/java/org/onap/policy/pap/main/rest/TestPdpGroupStateChangeControllerV1.java
main/src/test/java/org/onap/policy/pap/main/rest/TestPolicyAuditControllerV1.java
main/src/test/java/org/onap/policy/pap/main/rest/TestStatisticsRestControllerV1.java