SwaggerParser
JSON →SwaggerParser (published as `@apidevtools/swagger-parser`) is a robust library for parsing, validating, and manipulating Swagger 2.0 and OpenAPI 3.x specifications in both Node.js and browser environments. The current stable version is 12.1.0, which added support for OpenAPI 3.1.2. The project maintains an active release cadence, frequently updating to support newer OpenAPI specifications and address bug fixes and security concerns. Key differentiators include its comprehensive handling of `$ref` pointers (local, external, circular), ability to bundle multiple spec files into a single document, dereferencing all pointers for easy object manipulation, and extensive testing against over 1,500 real-world APIs. It reliably maintains object reference equality when resolving pointers, ensuring consistent data structures.
Traffic · last 30 days ↑200% vs prev 7d
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany