You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks suvirbhargav, thanks for reply. actually i am trying to implement swagger ui as a widget.that means i have multiple components in my index react app and based on condition only one operation part of swagger ui should be rendered in one component is called here widget.please suggest me how can i perform this approach.
Look at the code in this thread, here you see how to hide try it out button, #6124
Similarly, you can do other things using swagger ui plugin approach.
Uh oh!
There was an error while loading. Please reload this page.
i have gone through with below url to implement statePlugins in existing any app.
but i could not understand how to inject those in our react app.
please any running sample project is available for this. please let me guid how to invoke/use in our react app.
https://github.com/swagger-api/swagger-ui/blob/master/docs/customization/plugin-api.md
{
statePlugins: {
[stateKey]: {
actions,
reducers,
selectors,
wrapActions,
wrapSelectors
}
},
components: {},
wrapComponents: {},
rootInjects: {},
afterLoad: (system) => {},
fn: {},
}
The text was updated successfully, but these errors were encountered: