2021-02-24 07:30:12 +03:00
|
|
|
description: Tries to create an endpoint with empty path param
|
|
|
|
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/:/bar
|
|
|
|
methods:
|
|
|
|
- GET
|
|
|
|
name: foo
|
|
|
|
comment:
|
|
|
|
reason: 'Empty segments or unnamed variables are not allowed: foo/:/bar'
|
|
|
|
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/:/bar"
|
|
|
|
name: foo
|
|
|
|
methods:
|
|
|
|
- GET
|
|
|
|
definition:
|
|
|
|
query:
|
|
|
|
collection_name: test_collection
|
|
|
|
query_name: simple_query
|