DanielZ
03/31/2023, 5:50 AMswagger-ui
and routes
.
I’ve a code similar to following:
routes(
"/swagger-ui" bind swaggerUiWebJar {
url = "spec"
pageTitle = "Cat Shelter"
displayOperationId = true
requestSnippetsEnabled = true
}
)
when I call my service in a browser with <http://localhost:8000/swagger-ui>
I end up in an empty page. I can see swagger-ui by adding a trailing /
.
How can I easily change this behaviour back, so that I can call it again without trailing slash?Andrew O'Hara
03/31/2023, 12:46 PMswaggerUiLite
2. Bind the UI to the root pathDanielZ
03/31/2023, 12:57 PMAndrew O'Hara
03/31/2023, 1:20 PMDanielZ
04/06/2023, 6:11 PM