Fork me on GitHub
#graphql
<
2019-12-05
>
amar18:12:40

hi everyone! Does anyone have tool recommendations for generating static API docs off of a graphql schema?

hiredman18:12:23

the nodejs graphql package has an introspecitionQuery thing, I have a little nodejs script that sends that to my lacinia server and prints out the schema it gets back (it prints out it out in the standard graphql schema language) and use that as the api docs

hiredman18:12:31

it includes things like descriptions and deprecated information

amar19:12:56

Thanks. I'll try that.