playmoo
6 years agoNew Contributor
How to find the full documentation API for SwggerUI ?
How can i find the whole documentation for swagger. For example i have a plugin like that: return { statePlugins: { spec: { wrapSelectors: { ........ ...
- 6 years ago
Hi playmoo,
To find the list of available selectors that can be used in wrapSelectors, go to https://petstore.swagger.io, open the browser console, and evaluate
ui.specSelectorsI agree that the plugin development docs are not very clear and could definitely be improved.
For the reference, here are some sample plugins what use wrapSelectors:
- Hide empty tags
- Disable "try it out" (as an alternative to the "supportedSubmitMethods" configuration option)
- Disable "try it out" for OpenAPI 3.0 definitions without "servers"
Hope this helps!