-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
potential breaking change with baseDir-option #118
Comments
@Uzlopak thanks - was in the middle of raising an issue as there were some related observations I wanted input on in relation to PR #108 made some changes to how static content is served. There are two types of static content - the swagger-ui static content and then any app-specific static content that needs to be served alongside. Before #108 was merged (and in the current latest release on npm, 2.0.1), the swagger-ui static content is always served from the With the changes in #108, the
I picked There are a few problems with this:
There is an orthogonal issue that I believe is a security matter that I will disclose as per the security policy (if I can figure out all the right fields to enter). |
What would you recommend? Would you like to send a PR? |
We could have introduced an additional option e.g. Is that an option here? |
I think there are two separate concepts here that should be reflected in the configuration - as you suggest @davidjbng
A 2.0.1 configuration will continue to work as before. A user wanting to bundle the swagger-ui files into their own app will need to put them somewhere and set |
Agreed. I should have done it like that in the first place. |
That'd be amazing thx! |
Originally posted by @knolleary in #108 (comment)
The text was updated successfully, but these errors were encountered: