Use Yapi show your api interfaces

Today studied under a very useful tool api showcase --- Yapi, specific URLs https://hellosean1025.github.io/yapi/documents/index.html

As shown, the basic look of the display and interface availability, it's a service I api locally deployed, then yapi above configuration will be able to show the path to the next, is so easy, you can see, we can each interface editing is complete, when you want to cooperate with the front interface written into the finished state, the front end can be called to use, and secondly,

Switch to the "Preview" menu, we can see the details of the interface, the content of this document, in fact, can be used to write the interface documentation, with this page, write interface documentation no longer complex matter, in addition, you can see the third tab menu "run", switch to here, we can directly test whether under api can be used normally, but then, when the operation requires chrome browser, but also Google's plug-in support, therefore, need science the Internet to download the corresponding plug-in, you can refer to my other article to build ss or brook.

 The following look simple configuration, first switch to the "Settings" - "" environment setting "configuration is shown, if the interface requires authentication token, the token can be key-fitted in the Authorization

The last configuration is automatically synchronized, as

 

Guess you like

Origin www.cnblogs.com/luoocean/p/11271813.html