Skip to content

Commit 88b45cb

Browse files
committed
chore: Springdocs properties for swagger #16
1 parent cbcd24c commit 88b45cb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/resources/application.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,14 @@ spring:
3737

3838
springdoc:
3939
api-docs:
40+
path: /api-docs.json
4041
groups:
4142
enabled: true
4243
default-consumes-media-type: application/json
4344
default-produces-media-type: application/json
44-
swagger-ui:
45-
path: /
46-
disable-swagger-default-url: true
45+
swagger-ui: # Path : localhost:8080/swagger-ui.html
46+
tags-sorter: alpha
47+
operations-sorter: alpha
4748

4849
logging:
4950
level:

0 commit comments

Comments
 (0)