Skip to main content
Level 2
Oct 29, 2025 1:12 PM UTC
Solved

Graphql query response - field mapping documentation

For each component, I need to create a new GraphQL query and share it with the consumer team.

To streamline this process, I am preparing a technical mapping document for the module's GraphQL query responses and VD image.

Is there an efficient way to generate documentation for GraphQL responses?

 

Field Mapping Screenshot:

 

 

Note: I tried swagger API. It is helpful for only REST API

 

Thanks!

EstebanBustamante
EstebanBustamanteAccepted solution
Adobe Champion and Community Advisor
Oct 29, 2025 1:44 PM UTC

Hi,

 

I think you might want to look beyond Adobe’s ecosystem for a more general GraphQL solution. Here are a few interesting options I haven’t tried myself but that could be worth exploring:

 

- https://github.com/anvilco/spectaql (SpectaQL is a Node.js library that generates static documentation for a GraphQL schema)
- https://github.com/2fd/graphdoc?tab=readme-ov-file (Static page generator for documenting GraphQL Schema)

- https://github.com/graphql-markdown/graphql-markdown 

 

Hope this helps

 

Esteban Bustamante

2 replies

EstebanBustamante
Adobe Champion and Community Advisor
EstebanBustamanteAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
Oct 29, 2025 1:44 PM UTC

Hi,

 

I think you might want to look beyond Adobe’s ecosystem for a more general GraphQL solution. Here are a few interesting options I haven’t tried myself but that could be worth exploring:

 

- https://github.com/anvilco/spectaql (SpectaQL is a Node.js library that generates static documentation for a GraphQL schema)
- https://github.com/2fd/graphdoc?tab=readme-ov-file (Static page generator for documenting GraphQL Schema)

- https://github.com/graphql-markdown/graphql-markdown 

 

Hope this helps

 

Translate
Esteban Bustamante
ManviSharma
Adobe Employee
Adobe Employee
Oct 30, 2025 4:52 AM UTC

Hello,

Here are a couple of good documentation links to get you started with GraphQL-docs generation:

Translate