esbuild-plugin-swagger-spec-parser

JSON →
library 0.0.6 ·javascript
verified Jun 4, 2026

An esbuild plugin (v0.0.6) that parses Swagger/OpenAPI specifications (YAML and JSON) during the build process. It transforms imports of files named with 'swagger.(yaml|json)' into parsed JSON objects. Released under MIT license, it targets Node.js >=16 and is designed for esbuild bundling workflows. Differentiated by its lightweight, zero-config approach for integrating OpenAPI specs into esbuild builds, though it is in early development with no active maintenance cadence.