Add annotation for OpenAPI 3.0 documentation generation
Issue-ID: AAF-997
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I6dcbe2076d7e0095c210b1cae95309fe31ebf243
diff --git a/pom.xml b/pom.xml
index 3eef61b..36904e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,7 +35,7 @@
<stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
<sitePath>/content/sites/site/org/onap/aaf/cert-service/${project.artifactId}/${project.version}</sitePath>
<java.version>11</java.version>
- <springdoc-openapi-maven-plugin.apiDocsUrl>http://localhost:8080/v3/api-docs</springdoc-openapi-maven-plugin.apiDocsUrl>
+ <springdoc-openapi-maven-plugin.apiDocsUrl>http://localhost:8080/v3/api-docs.yaml</springdoc-openapi-maven-plugin.apiDocsUrl>
<!-- Dependencies -->
<assertj-core.version>3.15.0</assertj-core.version>
@@ -94,7 +94,7 @@
</executions>
<configuration>
<apiDocsUrl>${springdoc-openapi-maven-plugin.apiDocsUrl}</apiDocsUrl>
- <outputFileName>api-docs.json</outputFileName>
+ <outputFileName>api-docs.yaml</outputFileName>
<outputDir>${project.build.directory}</outputDir>
</configuration>
</plugin>