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
A way to separate the UI into header, css, javascript, body #658
Comments
Can't you just serve up your own index.html as an MVC vie? |
That is, create an MVC route at "/swagger/index", a controller action and a view that is your own version of index.html. So long as u include the same assets and the JS to init SwaggerUi it should be fairly simple - unless I'm missing something? |
I do not want every time you come with new asserts( js, css, and so on) to modify a component (https://github.com/ignatandrei/Swashbuckle.MVC ) |
This seems like an overly complex requirement to bake into Swashbuckle. Bare in mind that SB is first and foremost a Swagger JSON generator. It leverages swagger-ui and embeds it to provide an awesome UI experience. There's some plumbing to package this up nicely but other than that I'm happy to rely on the Swagger guys for UI. |
I need for Swashbuckle to have the same layout as ASP.NET MVC layout file.
Could you think for a way to separate the UI into header, css, javascript, body ?
It will be helpful for https://github.com/ignatandrei/Swashbuckle.MVC
Thank you
The text was updated successfully, but these errors were encountered: