You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"summary": "GraphQL parser and pretty printer endpoint.",
214
+
"description": "The GraphQL endpoint without specifying a partition should be used to parse a given GraphQL query into an Abstract Syntax Tree or pretty print a given Abstract Syntax Tree into a GraphQL query.",
215
+
"consumes": []string{
216
+
"application/json",
217
+
},
218
+
"produces": []string{
219
+
"text/plain",
220
+
"application/json",
221
+
},
222
+
"parameters": []map[string]interface{}{
223
+
{
224
+
"name": "data",
225
+
"in": "body",
226
+
"description": "Query or AST which should be converted.",
227
+
"required": true,
228
+
"schema": map[string]interface{}{
229
+
"type": "object",
230
+
"properties": map[string]interface{}{
231
+
"query-to-ast": map[string]interface{}{
232
+
"description": "Query which should be parsed.",
233
+
"type": "string",
234
+
},
235
+
"ast-to-query": map[string]interface{}{
236
+
"description": "AST which should be pretty printed.",
237
+
"type": "object",
238
+
},
239
+
},
240
+
},
241
+
},
242
+
},
243
+
"responses": map[string]interface{}{
244
+
"200": map[string]interface{}{
245
+
"description": "The operation was successful.",
246
+
"schema": map[string]interface{}{
247
+
"type": "object",
248
+
"properties": map[string]interface{}{
249
+
"result-ast": map[string]interface{}{
250
+
"description": "The resulting AST if a query was parsed.",
251
+
"type": "object",
252
+
},
253
+
"result-query": map[string]interface{}{
254
+
"description": "The pretty printed query if an AST was given.",
0 commit comments