It may be due to my lack of understanding as a non-expert in Open-API spec, but I have a basic problem.
My observation:
- given following rule in api.json
"/Patient": {
"get": {
"tags": [
"query",
"Patient"
],
"operationId": "npatient:search",
"summary": "search Patient type",
"parameters": [
...snip...
- rule is matched by url: $base/Patient12345
My expectation would be that an error is thrown. Actually the slash is missing for another rule "/Patient/{id}".
The function router:create-regexp seems anchoring at the beginning but not the end of string
regards
Peter
It may be due to my lack of understanding as a non-expert in Open-API spec, but I have a basic problem.
My observation:
My expectation would be that an error is thrown. Actually the slash is missing for another rule "/Patient/{id}".
The function router:create-regexp seems anchoring at the beginning but not the end of string
regards
Peter