typera-openapi
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -654,2 +654,6 @@ "use strict"; | ||
} | ||
if ((0, utils_1.isBooleanLiteralType)(type)) { | ||
const isTrue = type === ctx.checker.getTrueType(); | ||
return Object.assign({ type: 'boolean', enum: [isTrue] }, base); | ||
} | ||
if ((0, utils_1.isBooleanType)(type)) { | ||
@@ -656,0 +660,0 @@ return Object.assign({ type: 'boolean' }, base); |
@@ -17,3 +17,3 @@ "use strict"; | ||
try { | ||
// eslint-disable-next-line @typescript-eslint/no-extra-semi | ||
// eslint-disable-next-line no-extra-semi | ||
; | ||
@@ -20,0 +20,0 @@ ({ format, resolveConfig } = require('prettier')); |
{ | ||
"name": "typera-openapi", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Generate OpenAPI spec from typera routes", | ||
@@ -28,3 +28,3 @@ "repository": "https://github.com/akheron/typera-openapi", | ||
"statuses": "^2.0.1", | ||
"typescript": ">=4.3.0", | ||
"typescript": ">=5.1.6", | ||
"yargs": "^17.0.0" | ||
@@ -37,12 +37,12 @@ }, | ||
"@types/statuses": "^2.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.16.0", | ||
"@typescript-eslint/parser": "^5.16.0", | ||
"@typescript-eslint/eslint-plugin": "^6.3.0", | ||
"@typescript-eslint/parser": "^6.3.0", | ||
"doctoc": "^2.0.0", | ||
"eslint": "^8.12.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint": "^8.46.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.0", | ||
"io-ts": "^2.2.13", | ||
"io-ts-types": "^0.5.12", | ||
"jest": "^27.0.1", | ||
"prettier": "^2.2.1", | ||
"prettier": "^3.0.1", | ||
"ts-jest": "^27.0.1", | ||
@@ -49,0 +49,0 @@ "typera-express": "^2.4.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61852
1126
Updatedtypescript@>=5.1.6