Created
November 16, 2021 13:02
-
-
Save modster/ac2e94cbd308a024e376313db07b1d3e to your computer and use it in GitHub Desktop.
schema.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
paths: | |
/graphql: | |
post: | |
summary: 'My GraphQL API Endpoint' | |
description: 'My GraphQL API Endpoint' | |
operationId: 'graphql' | |
responses: | |
'200': | |
description: 'Successfull Query' | |
content: | |
application/json: | |
schema: | |
type: object | |
requestBody: | |
content: | |
application/json: | |
schema: | |
type: object | |
example: | |
query: > | |
{ | |
allFilms { | |
films { | |
title | |
} | |
} | |
} | |
properties: | |
query: | |
type: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment