Open jfoclpf opened 2 years ago
Considering that $ref: '#/components/parameters/json'
was already working, my guess is that this validator does not consider ~1
as valid escaper for /
Nonetheless documentation refers:
/
and ~
are special characters in JSON Pointers, and need to be escaped when used literally (for example, in path names).
Character | Escape With
-- | --
~ | ~0
/ | ~1
Describe the bug Path alises using
$ref
not workingTo Reproduce
File openapi.yaml has this portion:
Path
/municipio/{municipio}
is an alias of/municipios/{municipio}
Actual behavior
Expected behavior No error upon GET
/municipio/{municipio}
or GET/municipios/{municipio}
Context
My openapi.yaml file was validated OK using
ibm-openapi-validator