diff --git a/CHANGELOG.md b/CHANGELOG.md index ccb2714..e02d57c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.20.1] - 2026-03-09 + +### Fixed + +- `api-schemas.ts` no longer emits `import type { components }` when there are no schemas, eliminating a spurious unused-import lint warning + ## [0.20.0] - 2026-03-05 ### Fixed diff --git a/package-lock.json b/package-lock.json index 46ad9fd..89b19c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@qualisero/openapi-endpoint", - "version": "0.20.0", + "version": "0.20.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@qualisero/openapi-endpoint", - "version": "0.20.0", + "version": "0.20.1", "license": "MIT", "bin": { "openapi-codegen": "bin/openapi-codegen.js" diff --git a/package.json b/package.json index a671467..be8d4f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@qualisero/openapi-endpoint", - "version": "0.20.0", + "version": "0.20.1", "repository": { "type": "git", "url": "https://github.com/qualisero/openapi-endpoint.git" diff --git a/src/cli.ts b/src/cli.ts index f78a494..6b370e8 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -887,8 +887,6 @@ function generateApiSchemasContent(openApiSpec: OpenAPISpec): string { return `// Auto-generated from OpenAPI specification // Do not edit this file manually -import type { components } from './openapi-types' - // No schemas found in the OpenAPI specification ` }