validate
Validate your Swagger/OpenAPI specification and display API information.
Usage
bash
Options
-i, --input <path>Path or URL to Swagger/OpenAPI file
Required-u, --username <username>Basic auth username
-p, --password <password>Basic auth password
Examples
Validate local file
Check if your Swagger spec is valid
bash
Validate remote spec
Validate a spec from URL with authentication
bash
Important Notes
Displays: API title, version, number of paths, schemas, and available tags.
Run this before generation to catch specification errors early.