Fluent Commerce Logo
Docs

Convert a JSON Introspection result to Schema Definition Language (SDL)

How-to GuideStep-by-step guides to achieve a specific scenario or setup.

Author:

Fluent Commerce

Changed on:

9 Apr 2024

Key Points

  • Converting JSON Introspection to SDL allows for a human-readable format of GraphQL schema, which is essential for documentation and understanding the API structure.
  • Tools such as GraphQL Voyager and Apollo Studio can automate the conversion process, providing a visual representation and SDL output without manual coding.
  • Understanding the structure of the introspection query result is crucial for manually converting the JSON to SDL, should automated tools not be available or suitable.

Steps