From 2d11447e18557ae1e3b1902062c5e064f473ca0e Mon Sep 17 00:00:00 2001 From: Murilo Kakazu Date: Tue, 1 Oct 2024 01:58:24 -0300 Subject: [PATCH] docs: add servers to swagger ui --- src/main/resources/application.properties | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index eff7916..d2a804b 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -10,4 +10,9 @@ spring.jpa.open-in-view=false # SWAGGER-UI CUSTOM PATH springdoc.swagger-ui.path=/swagger-ui.html springdoc.swagger-ui.tagsSorter=alpha -springdoc.swagger-ui.operationsSorter=alpha \ No newline at end of file +springdoc.swagger-ui.operationsSorter=alpha + +springdoc.swagger-ui.servers[0].url=http://localhost:8080 +springdoc.swagger-ui.servers[0].description=Local Development +springdoc.swagger-ui.servers[1].url=https://29glms05ff.execute-api.us-east-1.amazonaws.com +springdoc.swagger-ui.servers[1].description=Production Server \ No newline at end of file