Api-blueprint: GraphQL Endpoint Example

Created on 1 Aug 2016  路  1Comment  路  Source: apiaryio/api-blueprint

Hi, I am trying to write a GraphQL Apiary documentation for my team, but doesn't see one yet.

Do you have some suggestions? It has to cover both query and mutation usage.

If I got time later, I could submit a pull request.

Question

Most helpful comment

@yuchunc,
at this point you can document the GraphQL endpoint and pretty much define all the types with MSON / Attributes however you will have problems with queries and mutation definitions.

At this moment API Blueprint is tailored to HTTP APIs and not really useful with RPC-like API (such as GraphQL). There is a plan to abstract protocol layer and enable other API styles but no work has started on it..

>All comments

@yuchunc,
at this point you can document the GraphQL endpoint and pretty much define all the types with MSON / Attributes however you will have problems with queries and mutation definitions.

At this moment API Blueprint is tailored to HTTP APIs and not really useful with RPC-like API (such as GraphQL). There is a plan to abstract protocol layer and enable other API styles but no work has started on it..

Was this page helpful?
0 / 5 - 0 ratings