Interface document generation method and device, computer equipment and storage medium

An interface and document technology, applied in the computer field, can solve the problems of wasting developers' time and energy, high development costs, and error-prone, and achieve the effect of saving labor costs, being easy to read, and ensuring consistency.

Pending Publication Date: 2019-10-15
重庆金融资产交易所有限责任公司
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of this application is to provide a method, device, computer equipment and storage medium for generating interface documents, aiming at solving the problem that existing developers...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Interface document generation method and device, computer equipment and storage medium
  • Interface document generation method and device, computer equipment and storage medium
  • Interface document generation method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

[0052]It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present application are only used to explain the relationship between the components in a certain posture (as shown in the drawings). If the specific posture changes, the relative positional relationship, movement conditions, etc., the directional indication will also change accordingly, and the connection may be a direct connection or an indirect connection.

[0053] refer to figure 1 , a method for generating an interface document according to an embodiment of the present application, including:

[0054] S1: Obtain the source code of the first item;

[0055] S2: Screen out class methods with interface tags from all class methods in the source code, and record the class methods wit...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an interface document generation method and device, computer equipment and a storage medium. The interface document generation method comprises the steps: obtaining a source code of a first project; screening out a class method with an interface mark from all class methods of the source code, and marking the class method with the interface mark as an interface class method;extracting interface basic information from a method body corresponding to the interface method through a reflection technology, and extracting interface additional information from code annotation information corresponding to the method body; integrating the interface basic information and the interface additional information to form first interface information; and adding the first interface information into a preset interface document template, and generating a first interface document corresponding to the first interface information according to the preset interface document template. According to the interface document generation method, the first interface document corresponding to the source code of the first project can be automatically generated, so that the consistency of the first interface document and the first interface information is ensured, and the labor cost is effectively saved, and the generation efficiency of the interface document is improved.

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] With the continuous development of computer technology, in the process of project development, due to the increasing complexity of software systems, the amount of project code will also become larger and larger, usually requiring many developers to work together to complete the development of the project , but the programming styles of different developers are quite different, and the code written by one developer is often difficult for another developer to understand. Therefore, in order for different developers to understand each other's code content, in addition to completing the task of writing code, each developer also needs to provide a complete interface document corresponding to the written project code. Manually writing interface docume...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/30G06F8/73
CPCG06F8/31G06F8/73
Inventor 王维
Owner 重庆金融资产交易所有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products