I need to document both Magento2 in-built and custom GraphQl endpoints. (Just like we use swagger to document APIs). So far I tried the below tools. But both seem to be covering a limited number of GraphQl endpoints. They do not generate documentation for all the GraphQl endpoints available in Magento.

It would be great if you can share any tool which you have used to document GraphQl

1 Answer 1


You may use Altair tool in your Chrome browser to download all magento default as well as your custom GraphQL endpoints.

enter image description here

You can use "Export SDL" option in order to download the specific query or mutation documentation.

I hope this helps!


  • Thank you so much and +1. It does the work
    – Sukeshini
    Dec 16, 2020 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.