Reputation: 521
I'm trying to serve yml files on Swagger UI using springdoc, on the documentation here it says to specify the file likespringdoc.swagger-ui.url=/api-docs.yaml
, however, let's say I have those yml files in the main java folder, what value should springdoc.swagger-ui.url
receive?
Thank you.
Upvotes: 1
Views: 3335
Reputation: 4809
You should make sure your api-docs.yaml is located to in your static folder.
The standard spring configuration for static resources is:
Upvotes: 1