A validate command was proposed and added to kubb-cli (as of version 3.14.0) to allow users to directly validate OpenAPI/Swagger specification files from the CLI. This command checks for syntax and structural errors in the API specs, provides clear feedback (errors and warnings), and supports all input formats accepted by other kubb-cli commands. The feature is intended to improve early validation in development workflows, such as CI pipelines and pre-commit hooks. Example usage: kubb validate --input ./openapi.yaml.
DocumentsKubb's Space
What new feature was proposed and implemented for the `kubb-cli` tool regarding OpenAPI/Swagger file validation?
What new feature was proposed and implemented for the `kubb-cli` tool regarding OpenAPI/Swagger file validation?
Type
Answer
Status
Published
Created
Aug 19, 2025
Updated
Aug 19, 2025
Created by
Dosu Bot
Updated by
Dosu Bot