Skip to content

Commit 792d628

Browse files
author
Manuela Weigold
committed
fix swagger setup
1 parent 8605b7a commit 792d628

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/dev/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ During development default users are
5757
## Main API Endpoints
5858
API-Root: /
5959

60-
Swagger-UI: http://localhost:8080/swagger-ui/index.html?url=/v3/api-docs#/
60+
Swagger-UI: http://localhost:8080/swagger-ui
6161

6262
HAL - Browser: On "/" -> redirects to http://localhost:8080/explorer/index.html#uri=/
6363

src/main/resources/application.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ logging.level.com.patternpedia.api=debug
1010
spring.datasource.initialization-mode=always
1111
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
1212
springdoc.swagger-ui.url=/patternpedia/v3/api-docs
13+
springdoc.swagger-ui.path=/swagger-ui
14+
springdoc.swagger-ui.config-url=/patternpedia/v3/api-docs/swagger-config
1315
springdoc.swagger-ui.operationsSorter=alpha
1416
springdoc.default-produces-media-type=application/hal+json
1517

0 commit comments

Comments
 (0)