cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the full documentation API for SwggerUI ?

SOLVED
New 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: {

                ........

          }

     }

  }

}

 

So my question basically is, where to find the full list of object properties that "wrapSelectors" provides for example? I really find it difficult to find and i dont know where to look for it, any help would be great.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

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

 

HKosova_0-1594032661186.png

 

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!


Helen Kosova
SmartBear Documentation Team Lead
________________________
Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

1 REPLY 1
Highlighted
Moderator

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

 

HKosova_0-1594032661186.png

 

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!


Helen Kosova
SmartBear Documentation Team Lead
________________________
Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements