-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
Which package are you using?
chai-openapi-response-validator
OpenAPI version
3
Describe the bug
Lack of support for routes like:
/:id1/:id2/:id3
/resource/:id/resource
To Reproduce
Prepare spec for ie:
/:id1/:id2/:id3
/resource/:id/new
and try to satisfyApiSpec
against /resource/:id/new route.
Current behavior
For /resource/:id/new
route it matches /:id1/:id2/:id3
and spec fails.
Expected behavior
If /resource/:id/new
is being tested, it matches /resource/:id/new
in the spec.
If /:id1/:id2/:id3
is being tested, it matches /:id1/:id2/:id3
in the spec.
Additional context
This issue is almost the same as #57. I commented with my problem under that thread too.
GershyRbi and kytart
Metadata
Metadata
Assignees
Labels
No labels