Disclosed in the present disclosure are an interface document generation method, apparatus and device, and a storage medium. The method comprises: in the process of generating an interface document, first acquiring a target application code in target
project engineering in the process of generating an interface document, wherein the target
project engineering is
project engineering to be referenced by a preset file, thereby enabling an interface document generation apparatus to reversely reference a project to be developed or tested and to
package said project, rather than the project to be developed referencing a component
package, and except for writing interface
annotation information according to regulations, the target application code does not need to be modified; and after the target application code is packaged, scanning the target application code, so as to obtain parameter
annotation information containing interface information, and generating an interface document on the basis of the parameter
annotation information. By means of using the embodiments of the present disclosure, there is no need to use standard special swagger annotations, which is completely non-invasive to a program, and there is no need to introduce swagger components into project
engineering, and the swagger components do not persist throughout the
entire life cycle of
software development, thereby improving the
system security.