type-graphql-to-md
v1.0.3
Published
Make markdown for type-graphql spec
Downloads
10
Readme
type-graphql-to-md
Make a markdown file for type-graphql spec
Requirement
- TypeGraphQL
Example
Refer src/markdown.spec.ts
import { buildSchema } from 'type-graphql';
// you should call buildSchema function from type-graphql first
await buildSchema({ resolvers: [SampleResolver], });
await exportToMarkdown('API Spec', 'spec.md');
Test
yarn test