View Source mix graphql_gen_markdown (Graphql Markdown v0.2.0)
A mix task to convert a GraphQL JSON schema to markdown
usage
mix refresh_token.cleanup [OPTIONS]
valid override args: -f, --schema Path to the schema file -o, --outpout-dir Where to output the files. Default: [Current Directory] -m, --multi-page Generate each type in a separate file. Default: [single page format] -t, --title Specify the page title for the generated file (Applies to single file only) --no-toc Do not generate the table of content (Applies to single file only)
Examples
- Convert the GraphQL JSON schema to a single markdown file
mix grapqhl.gen.markdown -f myschema.json
- Convert the GraphQL JSON schema to a multiple markdown file
mix grapqhl.gen.markdown -f myschema.json -m