Closed dommer1 closed 2 years ago
Or maybe, if the file is located somewhere else, then it still needs to go through the swagger-openapi-json
route of the package, so it can update the server url and the oauth urls in the file before the openapi file is shown in swagger-ui 🤔
I think it might be better if we just changed the setup of the
SwaggerUIBundle
to support external openapi files:If the
swagger-ui.file
config value is an url, then that config value will be directly provided as url to swagger-ui, instead of this package's route.What do you think?