Replies: 1 comment
-
|
@younho9 This has been added as part of Kubb v.3.14.0.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Add
validatecommand tokubb-cliProblem
Currently,
kubb-clidoes not offer a way to validate OpenAPI/Swagger specification files directly from the CLI. Users must rely on indirect validation during code generation or use external tools to check the validity of their API specs. This can delay feedback and complicate the development workflow.Proposed Solution
Add a
validatecommand tokubb-clithat allows users to validate their OpenAPI/Swagger files. The command should check for syntax and structural errors, and provide clear feedback (errors/warnings) to the user.Example usage:
Alternatives Considered
kubb generate, which mixes validation with other concerns and gives later feedback.Additional Context
validatecommand should support all input formats accepted by otherkubb-clicommands.If this proposal aligns with the project's goals, I would be happy to discuss further or help with implementation!
Beta Was this translation helpful? Give feedback.
All reactions