diff --git a/README.md b/README.md index 25404b7..ab61fb7 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,11 @@ Module rest-backend - src/test/demo -> EndpointRunner Module vaadin-ui - src/main/java -> BasicTestUIRunner The REST Endpoint will run on localhost:8080 + +The API-Docs for the rest endpoint are on http://localhost:8080/apidocs/ + +The Swagger-UI will be on http://localhost:8080/apidocs/ui/index.html + The Vaadin UI will run on localhost:9999 diff --git a/rest-backend/pom.xml b/rest-backend/pom.xml index 98d1bbd..9623a40 100644 --- a/rest-backend/pom.xml +++ b/rest-backend/pom.xml @@ -62,4 +62,24 @@ + + + + com.webcohesion.enunciate + enunciate-maven-plugin + 2.11.1 + + + + docs + + + + ${project.build.directory}/classes/WEB + + + + + + \ No newline at end of file diff --git a/rest-backend/src/main/resources/META-INF/microprofile-config.properties b/rest-backend/src/main/resources/META-INF/microprofile-config.properties index dd392e4..f27c80e 100644 --- a/rest-backend/src/main/resources/META-INF/microprofile-config.properties +++ b/rest-backend/src/main/resources/META-INF/microprofile-config.properties @@ -1,3 +1,5 @@ # Microprofile server properties server.port=8080 -server.host=0.0.0.0 \ No newline at end of file +server.host=0.0.0.0 +server.static.classpath.location=/WEB +server.static.classpath.welcome=index.html \ No newline at end of file