Importing from apiDoc
This article introduces how to import data from
api_data.js
orapi_data.json
file into Apidog.
Support importing or api_data.js
files in api_data.json
apiDoc, please refer to Project Address for details on text format.
Export data
Install the node environment locally, use
0.29.0
version of , go to the directory where the source code file is locatedapidoc
, and runnpx apidoc@0.29.0 -i src -o dist
the command.src
is the source code file of the API, which is the file generated after the apidoc command is compiled.api_data.js
anddist
are the files that need to be imported into Apidog.
Import data
Open the Project "Settings" in Apidog and click "Import Data", select the file and upload, supports api_data.js
and api_data.json
file.