Skip to main content
Version: 3.x

Generate API documentation

Learn how to generate API documentation for your Magento 1 store using Front-Commerce's API documentation tool.

You can find the script used below to generate the documentation at: https://github.com/PH2M/Magento1-Generate-Api-Doc

Generate your API doc input files

This script generates PHP and JSON files in your api/input directory, these files help you to generate the apiDoc.

Generate your API doc

For this step you need to install https://github.com/apidoc/apidoc or have Docker

Your API doc is now available in api/doc/index.html

Tips

  • Link with anchor: to share a link to a specific endpoint's documentation, select the endpoint from the sidebar and copy the URL