graphql-engine/server/tests-py/queries/endpoints/endpoint_empty_path_segment.yaml

20 lines
423 B
YAML
Raw Normal View History

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