Open lenchvolodymyr opened 3 years ago
@lenchvolodymyr This is so due to no validations applied for OpenAPI v3. https://github.com/APIDevTools/swagger-parser/blob/fa54e0a030c0ca4d1abd090b77ce7d0dbb3205e1/lib/validators/spec.js#L17
@jaishirole thanks for the response, I see now. I would keep the issue open until it's implemented for OpenAPI
@lenchvolodymyr Sure.
@lenchvolodymyr This PR hopefully shall address this issue for OpenAPI v3: https://github.com/APIDevTools/swagger-parser/pull/179/files
@jaishirole nice, hope it will be merged soon. Thank you!
Any news on this?
The swagger-parser doesn't validate semantic error when path parameter has invalid type.
This schema is invalid according to swagger-editor
It shows the following error:
But swagger-parser doesn't throw any errors when validating the schema.