Method and device for interface document generation, computer device, and storage medium
A document generation and interface technology, which is applied in the computer field, can solve the problems of low efficiency, time-consuming and labor-intensive interface documents, and the inability to realize automatic collection, etc., and achieve the effect of improving generation efficiency
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2018-12-04
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present application relates to the field of computer technology, in particular to a method, device, computer equipment and storage medium for generating an interface document. Background technique
[0002] In the process of system development and system upgrade development, developers need to pre-agree on interface specifications and reflect the interface specifications in the form of interface documents. The traditional ways of generating interface documents include the following:
[0003] Manual writing: Developers manually write interface documents during the development process. Obviously, this method of manually writing and modifying interface documents is time-consuming and poorly standardized.
[0004] With the help of tools: The generation of interface documents with the help of tools usually provides standardized formats for the tools. Users input interface information into the tools, and the tools generate standardized documents based o...
Examples
Embodiment Construction
[0046] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
[0047] The interface document generation method provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the terminal 102 communicates with the server 104 through the network. The terminal 102 is used to provide a user operation interface, and sends an interface document generation request to the server 104. The server 104 pulls the source code file of the system for analysis, collects source code annotation information, obtains all interfaces and global parameters contained in the source code file by traversing clas...