inso lint spec

This command adds the ability to lint and validate your OpenAPI specification. Lint results will be printed to the console, and Inso will exit with an appropriate exit code.

Commands

inso lint spec [identifier]

Lint the given specification, the user will be prompted to select a specification if one is not passed as an option.

identifier can be a specification name, or id

Examples

When running in the example git-repo directory

Not specifying any arguments will prompt

$ inso lint spec

Scope by the specification name or id

$ inso lint spec spc_46c5a4
$ inso lint spec "Sample Specification"
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us