- changed status to open
Params in path connected with : not recognized
"/path/{param1}:{param2}"
I got error: - attribute paths.'/path/{param1}:{param2}'. Declared path parameter param1}:{param2needs to be defined as a path parameter in path or operation level
Clearly error in parsing of params. They should be treated separately.
Comments (5)
-
-
Issue
#281was marked as a duplicate of this issue. -
I recreated the problem, but it looks to be in the underlying
swagger-parser
library. https://github.com/swagger-api/swagger-parser/issues/1169 partially fixes the problem - you can now use-
and.
characters as separators. Other characters are still not supported by the parser.I have bumped the
swagger-parser
version to pick up this change - it is available in v2.10.2. -
- changed status to on hold
Waiting on a fix in the underlying
swagger-parser
library. -
@James Navin it seems like the underlying library has been fixed: https://github.com/swagger-api/swagger-parser/pull/1719.
- Log in to comment