-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Support for customisation in swagger-ui-react? #5367
Comments
swagger-ui-react
?
I'm also looking to implement this, We had to switch to swager-ui-react distribution because of this limitation #4745 , But then we hit with this problem where we couldn't use any plugins, I think this #5258 issue is also requesting the same change. I tried to add the plugins and presets configs into here index.js#L13 , but it didn't work. Got the following exception.
Then I tried to debug the code and check , but no luck in debuging it, with dev builds , source-mapping not working correctly. Appreciate your help to make this work. |
First, great work on Would like to request the following properties to be made configurable:
|
Yes, the ability to customize the layout is a real brick wall for my use case. Been sitting here for 15 minutes wondering why it wasn't picking up the example in the |
Custom layout is also something that would be great for our use case. We'd love to use the UI provided by your library but have pretty specific components we also need to show within our api explorer. Custom Layouts seems like a perfect use case for this. |
Hi Would, Are you planning to support customizable UI, which would be more accessible as well using |
For folks wanted to customize <SwaggerUi
url={specUrl}
onComplete={(swaggerUi) => {
swaggerUi.preauthorizeApiKey('key', userKey);
}}
/> |
This ever get solved? Would be real nice to have custom layouts |
Q&A (please complete the following information)
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 inswagger-ui-react
but doesn't allow configuration. Is there any recommended way to have a customised layout within a react app? @shockeyAlternatively are there any timelines for the support of custom plugins in swagger-ui-react?
The text was updated successfully, but these errors were encountered: