ApiDoc is a template made in HTML, PHP and Jquery to assist with PHP REST API documentation.

Copy the link below to your command line to download the latest version. ApiDoc does not need to be installed on your machine, just clone the file and unzip it to the server folder.
$ git clone -b 2.0.0-stable --single-branch https://github.com/brennoDuarte/ApiDoc.git ApiDoc-v2.0.0-stableMake sure JavaScript is enabled in your browser. You can turn on dark mode, but it will turn off as soon as you reload the page.
The json files are in the "json" folder.
You can edit the file "config.json" as follows:
To edit default routes, change the "router.json" file. The urls session is subdivided into:
To add a new path, copy from "pathName" into the "config.json" file and paste it below the other paths.
If you have multiple routes (get, post, put, delete), use a custom route. you can edit the customrouter.json file for this:
If your api does not have a certain request, change the field to null. Example:
"post": {
"id": null,
"pathPost": null,
"descriptionPost": null,
"link": null
},Done, just open the apidoc.php file in any browse.