Interface document generation method and device and readable storage medium

A document generation and interface technology, applied in the computer field, can solve problems such as error-prone, low-efficiency, and time-consuming, and achieve the effect of avoiding error-prone effects.

Pending Publication Date: 2020-06-05
RUITING NETWORK TECH (SHANGHAI) CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method, device, and readable storage medium for generating an interface document, so as to solve the problems of high labor cost, long time-consuming, low efficiency and error-prone problems caused by manually writing interface documents

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 and readable storage medium
  • Interface document generation method and device and readable storage medium
  • Interface document generation method and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0024] It should be understood that the specific embodiments described here are only used to explain the present invention, only a part of the embodiments of the present invention, not all the embodiments, and are not intended to limit the present invention.

[0025] refer to figure 1 , figure 1 It is a flow chart of the steps of a method for generating an interface document provided by an embodiment of the present invention. The method for generating an interface document in this embodiment is applicable to situations where manual writing of an interface document is not required. The method can be executed on a server, and the method in this embodiment includes the following steps:

[0026] Step 101. Obtain a data package of th...

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 embodiment of the invention provides an interface document generation method and device and a readable storage medium. The interface document generation method comprises the steps of obtaining a data packet of a first target service, wherein the data packet comprises class files corresponding to all interfaces of the first target service, and one class file comprises at least one interface; analyzing each class file to obtain an interface code of the at least one interface included in each class file, extracting interface class information from the interface code included in each class file, and generating a first interface document corresponding to each interface of the first target service according to the interface class information. Therefore, the interface document does not need to be written manually, the interface document can be automatically generated, time and labor are saved, and the problem that errors are prone to occurring when the interface document is written manually is solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method, device and readable storage medium for generating an interface document. Background technique [0002] In the process of service development, it is usually necessary to test the code corresponding to the service. When performing code testing, it is necessary to test the code corresponding to the service according to the interface document. [0003] At present, developers mainly write interface documents according to the class name, method name, service name and other information applied when writing the code corresponding to the service. Since there may be multiple interfaces involved in the code, if there are multiple interfaces, it is necessary to write a corresponding interface document for each interface. Therefore, manual writing of interface documents results in high labor costs, long time consumption, and Inefficient and error-prone. Contents of the inventio...

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/30G06F8/73
CPCG06F8/315G06F8/73
Inventor 秦偲晟朱传波杨少华陶静煜胡陈晨
Owner RUITING NETWORK TECH (SHANGHAI) CO LTD
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