A CLI tool to generate a Markdown file from GraphQL schema.
npm install -g graphql-md
graphql-md requires configuration file in yaml format. The default file path is ./graphql-md.yml
. You can change the file name by passing --configPath
option.
# graphql-md.yml
schemaPath: './schema.graphql'
outputPath: './api.md'
title: 'API Reference'
description: 'This is an API reference'
graphql-md