swagger-parser
swagger-parser copied to clipboard
How to validate a single block of the API by type?
For instance I wanna just validate a definition, or a single endpoint object. What's the correct API for the purpose?
There's not currently a way to do that. The validate()
method validates the entire Swagger definition, not just a part of it.