Nezteb
04/25/2019, 10:49 PMstatic
.
If I go to the static path /swagger.json
, i see the pictured swagger.json
file. If I go to /swagger.yaml
though, I get a 404.
I noticed static
has an overload with a second argument called extraPairs: Pair<String, ContentType>
. do I have to use that second arg?"/static" bind static(ResourceLoader.Classpath("public/swagger"), Pair("yaml", ContentType.TEXT_PLAIN))
dave
04/26/2019, 5:46 AM