S2T

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.

👋 Hello and welcome!

I'm Armel Dakayao, Front-End Developer & creator of swagger-to-tanstack CLI.

Armel Dakayao

Senior Front-End Developer. I build scalable, user-friendly web & mobile apps with React,React Native, Next.js, and TypeScript.