Development document generation method and device

A document generation and document technology, applied in the computer field, can solve the problems of manual writing of development documents, and achieve the effects of saving labor costs, improving efficiency, and avoiding inaccurate documents

Inactive Publication Date: 2017-10-10
BEIJING DIDI INFINITY TECH & DEV
View PDF3 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the defects in the prior art, the present invention provides a method and device for generating development documents, which can automatically generate development documents and solve the problem that development documents need to be written manually

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
  • Development document generation method and device
  • Development document generation method and device
  • Development document generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] figure 1 It shows the flowchart of the development document generation method provided by the first embodiment of the present invention, see figure 1 , the development document generation method provided by the first embodiment of the present invention includes the following steps:

[0043] Step 101: Introduce control parameters into the ...

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 provides a development document generation method and device. The method comprises the following steps of: importing a control parameter in a preset program development management tool, wherein the control parameter is used for compiling parameter names of parameters appearing in each method in an API program into a class file corresponding to each method during program compilation; injecting a RequestMappingHandlerMapping to obtain related parameter information of each method in the API program, wherein the related parameter information comprises a URL, a Controller, a request parameter and a returned Header type; analyzing the request parameter to obtain a parameter name, a parameter type and parameter annotation content by using a reflective analysis technology; and packaging the related parameter information of each method in the API program and various analyzed contents to obtain an API development document. According to the method and device, development documents can be automatically generated, so that the problem that development document needs manual programming is solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for generating development documents. Background technique [0002] At present, B\S architecture programs and APP-side programs are increasingly dependent on API (Application Programming Interface, API for short) calls. API is an interface using Json\XML format, which is used to communicate with A technology for data transmission between servers. [0003] After the API development is completed, API developers need to manually write API development documents. API development documents mainly include: interface path, request parameters, method type, method data type, compressed transmission, cache requirements, returned data samples, interface description, etc. Wait for a dozen fields. [0004] Since the API development document contains a lot of content, if the API development document is written manually, it is not only cumbersome, but also has low...

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): G06F9/44
CPCG06F8/73
Inventor 王子一
Owner BEIJING DIDI INFINITY TECH & DEV
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