Unlock instant, AI-driven research and patent intelligence for your innovation.

Interface document generation method and device, electronic equipment and medium

A document generation and interface technology, applied in the field of data processing, can solve problems such as insufficient efficiency improvement, inconvenience for developers to read, and inconsistent interface document formats.

Pending Publication Date: 2020-10-20
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In order to make it easier for different developers to understand each other's code content, each developer needs to manually write the interface document corresponding to the code file in addition to writing the code file. However, this method is inefficient. In addition , the format of the interface documents written by different developers is not uniform, and it is not easy for other developers to read; in addition, when the interface is updated or modified, developers tend to ignore the update of the corresponding interface description in the interface document, therefore, often There is a phenomenon that the interface document is inconsistent with the code file
[0003] However, the existing automatic generation scheme still needs to manually write the configuration file, and the efficiency improvement is not obvious enough; in addition, it is necessary to introduce additional annotations to mark the interface, which will cause certain intrusiveness to the code file

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, electronic equipment and medium
  • Interface document generation method and device, electronic equipment and medium
  • Interface document generation method and device, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0089] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0090] like figure 1 Shown is a flow chart of a preferred embodiment of the interface document generation method of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0091] The method for generating an interface document is applied in a smart government affairs scene, thereby promoting the construction of a smart city. The interface document generation method is applied to one or more electronic devices, and the electronic device is a device capable of automatically performing numerical calculation and / or information processing according to preset or stored instructions, and its hardware includes but not Limited to microprocessors, application spec...

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 relates to data processing, and provides an interface document generation method and a device, electronic equipment and a medium. The method comprises the following steps: when an interface document generation request is received, extracting maven coordinate from the interface document generation request; and pulling a code file corresponding to the maven coordinate from a pluralityof configuration systems, traversing the code file to obtain an interface class method, performing reflection processing and analysis processing on a method body corresponding to the interface class method to obtain interface information, and generating an interface document according to the interface information. According to the interface document generation method and the device, developers donot need to manually compile configuration files and introduce additional annotations, in addition, when the interface document generation request is received, the code files are pulled again, it canbe avoided that interface information is missed when the interface document is generated, and in addition, the interface document generation efficiency can be improved. In addition, the invention alsorelates to a blockchain technology, and the interface document can be stored in a blockchain.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a method, device, electronic equipment and medium for generating an interface document. Background technique [0002] In order to make it easier for different developers to understand each other's code content, each developer needs to manually write the interface document corresponding to the code file in addition to writing the code file. However, this method is inefficient. In addition , the format of the interface documents written by different developers is not uniform, and it is not easy for other developers to read; in addition, when the interface is updated or modified, developers tend to ignore the update of the corresponding interface description in the interface document, therefore, often There is an inconsistency between the interface document and the code file. [0003] However, the existing automatic generation scheme still needs to manually write th...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06F9/445G06F40/186
CPCG06F8/315G06F9/4451G06F40/186
Inventor 赵宇
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD