A command-line tool and library to fetch and resolve Swagger/OpenAPI 2.0 resource listing (api-docs) into a single JSON object. Current stable version: 0.1.2. This package is unmaintained and works only with Swagger 2.0 (OpenAPI 2.0). It recursively fetches all referenced API declarations and attaches them as 'apiDeclaration' properties. No alternatives are suggested in the repo; the package is minimal and has no runtime dependencies.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
This package is CJS-only; no ESM or default export is available.
In some bundlers or Node ESM, you can use default import, but it may trigger a CJS interop warning. The package has no named exports.
CLI is available when installed globally or via npx. The command expects exactly two arguments: URL and output file.
No TypeScript types are shipped, so type-checking is not possible without custom declaration.
Demonstrates fetching a Swagger 2.0 resource listing and resolving all referenced API declarations into a single object.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.