Forum Discussion

playmoo's avatar
playmoo
New Contributor
5 years ago

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: {                 ........    ...
  • HKosova's avatar
    5 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.specSelectors

     

     

    I 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:

    Hope this helps!