2021-02-24 07:30:12 +03:00
|
|
|
description: Try to add an endpoint with duplicate params
|
|
|
|
url: /v1/query
|
|
|
|
status: 400
|
|
|
|
response:
|
2021-03-10 08:25:12 +03:00
|
|
|
internal:
|
|
|
|
- definition:
|
|
|
|
definition:
|
|
|
|
query:
|
|
|
|
collection_name: test_collection
|
|
|
|
query_name: simple_query
|
|
|
|
url: foo/:id/bar/:id
|
|
|
|
methods:
|
|
|
|
- GET
|
|
|
|
name: duplicate
|
|
|
|
comment:
|
|
|
|
reason: Duplicate variables found in endpoint path foo/:id/bar/:id
|
|
|
|
type: endpoint
|
2021-02-24 07:30:12 +03:00
|
|
|
path: $.args
|
2021-03-10 08:25:12 +03:00
|
|
|
error: cannot continue due to new inconsistent metadata
|
|
|
|
code: unexpected
|
2021-02-24 07:30:12 +03:00
|
|
|
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
|