Magento 2 uses Swagger to automatically generate documentation for its REST API. You can view a published version on Magento devdocs. What's even better - Swagger is shipped with each installed insta…