UNPKG

graphql2rest

Version:

GraphQL to REST converter: automatically generate a RESTful API from your existing GraphQL API

17 lines (15 loc) 293 B
{ "endpoints": { "/tweets/:id": { "get": { "operation": "getTweet" } }, "/tweets": { "post": { "operation": "createTweet", "successStatusCode": 201 } } } }