Closed ghobona closed 1 year ago
Might be related to https://github.com/opengeospatial/ets-ogcapi-features10/issues/117.
When checking the OpenAPI document, we detected following:
...
"servers": [
{
"url": "/api/stac/v1"
}
],
...
"paths": {
...
"/api/stac/v1/conformance": {
...
It seems that the path /api/stac/v1 is declared multiple times.
@dstenger Ok, thanks. It seems it is not a problem with the ETS. So I'm closing this issue.
Describe the bug
The
OpenAPIUtils.identifyTestPoints
method is unable to detect matches between paths that extend from the path being detected. For example, in the following case it was comparing API paths that started with/api/abc/v1
and it could not match/api/abc/v1/conformance
to/conformance
.To Reproduce Steps to reproduce the behavior:
/conformance
path.Expected behavior
Expected the condition to detect that the paths endsWith
/conformance
.