Based off of Swagger UI responsive theme modified to use bootstrap v4.0.0-beta.3 and refactored a bit for added flexibility.
The theme will adapt to screen size and works on tablets and mobile phones.
Give it a try and enter your own swagger definition.
- Includes Bootstrap v4.0.0-beta.3 SCSS
- Uses broserSync for live reloading
- $
npm install
- $
gulp serve
- Update Sass
- Update Templates
- Update JS
git subtree split --branch ui-assets --prefix dist/assets/ && git checkout ui-assets && git push && git checkout master
Adding as subtree to another repository
git subtree add --prefix api/app/lib/openapi/ui/assets https://github.com/afgarcia86/bootstrap-swagger-ui ui-assets --squash
Update subtree
git subtree pull --prefix api/app/lib/openapi/ui/assets https://github.com/afgarcia86/bootstrap-swagger-ui ui-assets --squash
This is not a fully polished implementation and should be used with care.