Skip to content

CLI tool to generate Markdown file from your GraphQL Schema

License

Notifications You must be signed in to change notification settings

micin-jp/graphql-md

Repository files navigation

graphql-md

A CLI tool to generate a Markdown file from GraphQL schema.

How to use

Install

npm install -g graphql-md

Configuration

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.

Example

# graphql-md.yml
schemaPath: './schema.graphql'
outputPath: './api.md'
title: 'API Reference'
description: 'This is an API reference'

Run

graphql-md

About

CLI tool to generate Markdown file from your GraphQL Schema

Resources

License

Stars

Watchers

Forks

Packages

No packages published