Open loewenstein opened 7 years ago
Cannot parse https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/openapi-spec/swagger.json because it does not contain type attributes for definitions.
swagger-cli does successfully validate that same OpenAPI spec document though.
I have created an issue on the spec repo that this should be specified so that all tools are aligned. https://github.com/OAI/OpenAPI-Specification/issues/1388
Maybe we can come to correctly parsing swagger documents created with swagger tools even without waiting for the spec to explicitly state the defaulting logic.
According to the discussions on https://github.com/OAI/OpenAPI-Specification/issues/1388 we should probably allow definitions not to specify a 'type' attribute.
Cannot parse https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/openapi-spec/swagger.json because it does not contain type attributes for definitions.
swagger-cli does successfully validate that same OpenAPI spec document though.
I have created an issue on the spec repo that this should be specified so that all tools are aligned. https://github.com/OAI/OpenAPI-Specification/issues/1388
Maybe we can come to correctly parsing swagger documents created with swagger tools even without waiting for the spec to explicitly state the defaulting logic.