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:
|
2021-05-19 08:01:54 +03:00
|
|
|
- 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"
|
|
|
|
name: endpoint duplicate
|
|
|
|
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
|