PHP code example of lincanbin / apidoc-markdown
1. Go to this page and download the library: Download lincanbin/apidoc-markdown library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lincanbin / apidoc-markdown example snippets
/**
* @api {get} /user/:id
*/
@apiDescription text
/**
* @api {get} /user/:id
* @apiErrorExample {json} Error-Response:
* HTTP/1.1 404 Not Found
* {
* "error": "UserNotFound"
* }
*/
/**
* @api {get} /user/:id
* @apiHeader {String} access-key Users unique access-key.
*/