diff --git a/services/pom.xml b/services/pom.xml index 341a02c2bf..0329f55063 100755 --- a/services/pom.xml +++ b/services/pom.xml @@ -218,6 +218,27 @@ + + maven-resources-plugin + + + copy-resources + validate + + copy-resources + + + target/docs + + + src/docs + true + + + + + + org.apache.maven.plugins maven-javadoc-plugin @@ -244,7 +265,7 @@ ${project.basedir}/target/apidocs-rest/swagger false - -skipUiFiles -apiVersion 1 -includeResourcePrefixes org.keycloak.services.resources.admin,org.keycloak.protocol.oidc -docBasePath /apidocs -apiBasePath http://localhost:8080/auth -apiInfoFile ${project.basedir}/src/docs/swagger/apiinfo.json + -skipUiFiles -apiVersion 1 -includeResourcePrefixes org.keycloak.services.resources.admin,org.keycloak.protocol.oidc -docBasePath /apidocs -apiBasePath http://localhost:8080/auth -apiInfoFile ${project.basedir}/target/docs/swagger/apiinfo.json javadoc @@ -289,7 +310,7 @@ process-asciidoc - ${project.basedir}/src/docs/asciidoc + ${project.basedir}/target/docs/asciidoc index.adoc ${project.basedir}/target/apidocs-rest/output html5 diff --git a/services/src/docs/asciidoc/overview.adoc b/services/src/docs/asciidoc/overview.adoc index e2457abf15..1d19c96e93 100644 --- a/services/src/docs/asciidoc/overview.adoc +++ b/services/src/docs/asciidoc/overview.adoc @@ -1,7 +1,7 @@ -= Keycloak Admin REST API += ${product.name.full} Admin REST API == Overview -This is a REST API reference for the Keycloak Admin +This is a REST API reference for the ${product.name.full} Admin === Version information Version: 1 @@ -10,4 +10,3 @@ Version: 1 Host: localhost:8080 BasePath: /auth Schemes: HTTP - diff --git a/services/src/docs/swagger/apiinfo.json b/services/src/docs/swagger/apiinfo.json index 575955f57d..870e294748 100644 --- a/services/src/docs/swagger/apiinfo.json +++ b/services/src/docs/swagger/apiinfo.json @@ -1,4 +1,4 @@ { - "title": "Keycloak Admin REST API", - "description": "This is a REST API reference for the Keycloak Admin" + "title": "${product.name.full} Admin REST API", + "description": "This is a REST API reference for the ${product.name.full} Admin" } \ No newline at end of file