mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
20 lines
426 B
YAML
20 lines
426 B
YAML
|
description: Try to add an endpoint with duplicate params
|
||
|
url: /v1/query
|
||
|
status: 400
|
||
|
response:
|
||
|
path: $.args
|
||
|
error: |-
|
||
|
Duplicate variables found in endpoint paths: foo/:id/bar/:id
|
||
|
code: bad-request
|
||
|
query:
|
||
|
type: create_rest_endpoint
|
||
|
args:
|
||
|
url: "foo/:id/bar/:id"
|
||
|
name: duplicate
|
||
|
methods:
|
||
|
- GET
|
||
|
definition:
|
||
|
query:
|
||
|
collection_name: test_collection
|
||
|
query_name: simple_query
|