Interface document generation method and device, storage medium and electronic equipment
A technology for interface files and file storage, applied in the computer field, can solve problems such as inability to update in real time, input of manpower, inconsistent document quality, etc., and achieve the effect of improving production efficiency and quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is a schematic flowchart of a method for generating an interface document provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of automatically generating an interface document, and the method can be executed by a device for generating an interface document provided by the embodiment of the present invention. , the device may be realized by means of software and / or hardware, and the device may be integrated into electronic equipment such as a computer. The method specifically includes the following steps:
[0029] S110. Acquire an interface file of any interface, identify a character string in the interface file, and generate a file storage list based on the character string in each interface file and the full path information of each interface file.
[0030] S120. Perform reflection processing based on the full path information to obtain parameters in the character strings of each interface file.
[0031] S130....
Embodiment 2
[0050] figure 2 It is a schematic flowchart of a method for generating an interface document provided in Embodiment 2 of the present invention, which is optimized on the basis of the above embodiments. Optionally, the parsing strategy based on each parameter performs parameterization on each parameter Parsing to obtain the attributes and attribute descriptions of each parameter, including: for at least one input parameter of the function, circularly perform reflection processing on each input parameter to obtain the attribute and attribute type of each input parameter; based on the input parameter The class class is matched in the file storage list to determine the attribute description of each attribute of the input parameter. As well as the analysis strategy based on each parameter, performing parameter analysis on each parameter to obtain the attribute and attribute description of each parameter, including: for the output parameter of the function, performing reflection pr...
Embodiment 3
[0068] Figure 6 It is a schematic structural diagram of an interface document generating device provided in Embodiment 3 of the present invention, and the device includes:
[0069] Interface file obtaining module 310, for obtaining the interface file of any interface;
[0070] The file storage list generating module 320 is used to identify the character strings in the interface files, and generate a file storage list based on the character strings in each of the interface files and the full path information of each of the interface files;
[0071] A parameter determination module 330, configured to perform reflection processing based on the full path information to obtain parameters in the character strings of each of the interface files;
[0072] The parameter parsing module 340 is configured to perform parameter parsing on each parameter based on the parsing strategy of each parameter, and obtain the attribute and attribute description of each parameter;
[0073] The inte...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com