当前位置:网站首页>Install the yapiupload plug-in in idea and upload the API interface to the Yapi document

Install the yapiupload plug-in in idea and upload the API interface to the Yapi document

2022-04-23 18:08:00 Shallow singing ~ happiness

1. download YapiUpload plug-in unit ( I installed it first and then ) Operation steps : File->Settings->Plugins  Search for YapiUpload  Then install and restart IDEA

 

2. To configure Yapi    .idea Under directory misc.xml Add the following configuration to the file

<!--yapi To configure -->
<component name=" Your own project name ">
  <option name="projectToken">‘ Your own project token’</option>
  <option name="projectId">‘ Your own project id’</option>
  <option name="yapiUrl">http://127.0.0.1:3000</option>
  <option name="projectType">api</option>
</component>

among token  and   project id  Can be in yapi Found in the project   as follows :

 

 

3. Then I uploaded the interface     Select corresponding controller layer     Right click yapiUpload   

 

4. Finally log in yapi You can see the interface just uploaded    

 

版权声明
本文为[Shallow singing ~ happiness]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231800323316.html