mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
20 lines
423 B
YAML
20 lines
423 B
YAML
|
description: Tries to create an endpoint with empty path component
|
||
|
url: /v1/query
|
||
|
status: 400
|
||
|
response:
|
||
|
path: $.args
|
||
|
error: |-
|
||
|
Empty segments or unnamed variables are not allowed: foo//bar
|
||
|
code: bad-request
|
||
|
query:
|
||
|
type: create_rest_endpoint
|
||
|
args:
|
||
|
url: "foo//bar"
|
||
|
name: foo
|
||
|
methods:
|
||
|
- GET
|
||
|
definition:
|
||
|
query:
|
||
|
collection_name: test_collection
|
||
|
query_name: simple_query
|