Swagger Schema Official

JSON →
library 2.0.0-bab6bed ·javascript maintenance
verified Jun 7, 2026

JSON Schema files for Swagger/OpenAPI 2.0 specification. Current stable version is 2.0.0-bab6bed, which is the official JSON Schema for Swagger 2.0. This package provides the schema definition for validating Swagger 2.0 API documents. It is used by tools like Swagger UI and Swagger Editor. Note that it does not cover OpenAPI 3.x, which has its own schema packages. Release cadence is low, as it only updates when the Swagger specification changes.