swagger lint <swagger file>
Check the Swagger file for errors or warnings. Do both structural tests (via JSON-Schema) and semantic tests. There should be built-in validations based on the swagger-specification, plus the ability to customize or add custom validations (similar to Rubocop, Foocritic, etc).
See also: validations in swagger-tools.
swagger lint <swagger file>Check the Swagger file for errors or warnings. Do both structural tests (via JSON-Schema) and semantic tests. There should be built-in validations based on the swagger-specification, plus the ability to customize or add custom validations (similar to Rubocop, Foocritic, etc).
See also: validations in swagger-tools.