Support for customisation in swagger-ui-react?
See original GitHub issueQ&A (please complete the following information)
- OS: All
- Browser: All
- Version: 3.x
- Method of installation: npm
- Swagger-UI version: 3.x
- Swagger/OpenAPI version: OAS 3.0
How can we help?
Support for configuration in swagger-ui-react
? Would like to be able to use a customised layout of swagger-ui within a react appliction with try out enabled. Issue #4745 seems to be fixed in swagger-ui-react
but doesn’t allow configuration. Is there any recommended way to have a customised layout within a react app? @shockey
Alternatively are there any timelines for the support of custom plugins in swagger-ui-react?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:18
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Swagger UI + Angular & ReactJS + Customization - Medium
If we need to Customize the Swagger UI using only Angular then we need to opt for using Renderer2 or its equivalent one...
Read more >Plugin system overview - Swagger Documentation
The system is the heart of the Swagger UI application. At runtime, it's a JavaScript object that holds many things: React components; Bound...
Read more >Customizing Swagger-UI Layout - reactjs - Stack Overflow
Swagger -UI docs shows an example of customizing the layout by using getComponent("operations") . ... This works fine in React.
Read more >swagger-ui-react - npm
Start using swagger-ui-react in your project by running `npm i swagger-ui-react`. ... Custom plugins are not supported.
Read more >reactjs-custom-swagger-ui - CodeSandbox
This Sandbox is in sync with master on GitHub. You have to fork to make changes. Fork. Files. public. src. SwaggerUI. App.js. index.js....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
First, great work on
swagger-ui-react
, it solves quite a few issues related to embedding in React 👍Would like to request the following properties to be made configurable:
validatorUrl
preauthorizeBasic
preauthorizeApiKey
This ever get solved? Would be real nice to have custom layouts