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