The specific process of idea integrating Yapi plug-in

1. Plug-in download address:

Yapi plugin download address  https://plugins.jetbrains.com/plugin/12276-yapiupload/versions

2. Install the plugin to idea
File —> settings ----> Plugins (find the downloaded plugin according to the instructions and click OK)

The Yapi plug-in appears here, indicating that the insertion is successful

3. Make relevant configurations

 Find the location of the idea file in the project and configure Yapi related configuration



The configuration information is as follows to modify according to the project itself (IP and port I got here locally, you can configure according to the IP and port specified by the project on yapi)

<component name="yapi">
	<option name="projectToken">19bdaf0ca00f8475c3d159cfb7648f4557ce4842bf8bae64aeed06e59b80837</option>
	<option name="projectId">15</option>
	<option name="yapiUrl">http://127.0.0.1:3000</option>
	<option name="projectType">api</option>
  </component>

projectToken configuration Go to Yapi to find the tokenp configuration and copy it in

 projectId configuration
insert image description here

After everything is configured, restart idea, right-click on the controller interface to generate the corresponding interface document

 

 

Guess you like

Origin blog.csdn.net/JSUITDLWXL/article/details/130680373