mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
3ba5d1e540
GitOrigin-RevId: 1a0d8fa2b465320e9ab4ea43259d0e8d92364473
33 lines
762 B
YAML
33 lines
762 B
YAML
description: Tries to create an endpoint with trailing slash
|
|
url: /v1/query
|
|
status: 400
|
|
response:
|
|
internal:
|
|
- definition:
|
|
definition:
|
|
query:
|
|
collection_name: test_collection
|
|
query_name: simple_query
|
|
url: foo/
|
|
methods:
|
|
- GET
|
|
name: trailing
|
|
comment:
|
|
reason: "Empty segments or unnamed variables are not allowed: foo/"
|
|
name: endpoint trailing
|
|
type: endpoint
|
|
path: $.args
|
|
error: cannot continue due to new inconsistent metadata
|
|
code: unexpected
|
|
query:
|
|
type: create_rest_endpoint
|
|
args:
|
|
url: "foo/"
|
|
name: trailing
|
|
methods:
|
|
- GET
|
|
definition:
|
|
query:
|
|
collection_name: test_collection
|
|
query_name: simple_query
|