From 0f7836ca300abcc6b9250a4e292f1f29e19436c3 Mon Sep 17 00:00:00 2001 From: mwithi Date: Tue, 19 Nov 2024 22:48:31 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9b22c688..8f9ab4fa 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ For the moment, to build this project you should - URL base: http://localhost:8080 - URL login: http://localhost:8080/auth/login - URL patients: http://localhost:8080/patients - - URL swagger: http://localhost:8080/swagger-ui.html + - URL swagger: http://localhost:8080/swagger-ui/index.html You can see Swagger API Documentation at: http://localhost:8080/swagger-ui/index.html @@ -104,14 +104,14 @@ Make sure you have docker with docker-compose installed, then run the following - (optional - demo data after set the database container, English only) run `docker compose run --rm oh-database-init` - run `docker compose up backend` -When done successfully, head over at http://localhost:[API_PORT]/swagger-ui/ +When done successfully, head over at http://localhost:[API_PORT]/swagger-ui/index.html You can change the deployment branch using the .env file. NOTE: - API should be already available from LAN at http://your-server-ip:[API_PORT] -- Swagger will be available at http://[API_HOST]:[API_PORT] +- Swagger will be available at http://[API_HOST]:[API_PORT]/swagger-ui/index.html ## How to generate openapi specs