Improved swagger config

This commit is contained in:
2023-07-10 22:17:07 +02:00
parent 440279d1ab
commit 5f5fa6a8f1
@@ -35,10 +35,13 @@ de.twomartens.wahlrecht:
springdoc:
swagger-ui:
display-request-duration: true
operationsSorter: method
disable-swagger-default-url: true
path: '/wahlrecht/v1/doc/'
api-docs:
path: '/wahlrecht/v1/api-docs/'
default-produces-media-type: 'application/json'
api-docs:
path: '/wahlrecht/v1/api-docs'
openapi:
#TODO write description/ changelog