openapi3-ts
Advanced tools
Comparing version 3.0.1 to 3.0.2
# Changelog: openapi3-ts | ||
## Version 3.0.2 | ||
2022.08.29 | ||
- PR [#85](https://github.com/metadevpro/openapi3-ts/pull/85) Enable support for version 3.0.1 and 3.1.0 (Lax typing for `exclusiveMinimum` and `exclusiveMaximum`). contributed by @RobinTail | ||
## Version 3.0.1 | ||
@@ -7,3 +13,3 @@ | ||
- PR [#82](https://github.com/metadevpro/openapi3-ts/pull/82) Emit helpers for the CJS build. conttibuted by @RobinTail | ||
- PR [#82](https://github.com/metadevpro/openapi3-ts/pull/82) Emit helpers for the CJS build. contributed by @RobinTail | ||
@@ -10,0 +16,0 @@ ## Version 3.0.0 |
@@ -241,5 +241,5 @@ import { ISpecificationExtension } from './SpecificationExtension.js'; | ||
maximum?: number; | ||
exclusiveMaximum?: number; | ||
exclusiveMaximum?: number | boolean; | ||
minimum?: number; | ||
exclusiveMinimum?: number; | ||
exclusiveMinimum?: number | boolean; | ||
maxLength?: number; | ||
@@ -246,0 +246,0 @@ minLength?: number; |
@@ -241,5 +241,5 @@ import { ISpecificationExtension } from './SpecificationExtension.js'; | ||
maximum?: number; | ||
exclusiveMaximum?: number; | ||
exclusiveMaximum?: number | boolean; | ||
minimum?: number; | ||
exclusiveMinimum?: number; | ||
exclusiveMinimum?: number | boolean; | ||
maxLength?: number; | ||
@@ -246,0 +246,0 @@ minLength?: number; |
{ | ||
"name": "openapi3-ts", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "TS Model & utils for OpenAPI 3.x specification.", | ||
@@ -36,8 +36,8 @@ "main": "dist/cjs/index.js", | ||
"devDependencies": { | ||
"@types/node": "^18.7.6", | ||
"@typescript-eslint/eslint-plugin": "^5.33.1", | ||
"@typescript-eslint/parser": "^5.33.1", | ||
"@types/node": "^18.7.13", | ||
"@typescript-eslint/eslint-plugin": "^5.35.1", | ||
"@typescript-eslint/parser": "^5.35.1", | ||
"c8": "^7.12.0", | ||
"coveralls": "^3.1.1", | ||
"eslint": "^8.22.0", | ||
"eslint": "^8.23.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
@@ -47,6 +47,6 @@ "eslint-plugin-prettier": "^4.2.1", | ||
"rimraf": "^3.0.2", | ||
"typescript": "4.7.4", | ||
"vitest": "^0.22.0", | ||
"typescript": "~4.7.4", | ||
"vitest": "^0.22.1", | ||
"vitest-teamcity-reporter": "^0.1.7" | ||
} | ||
} |
@@ -306,5 +306,7 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
maximum?: number; | ||
exclusiveMaximum?: number; | ||
/** @desc OpenAPI 3.0: boolean, OpenAPI 3.1: number */ | ||
exclusiveMaximum?: number | boolean; | ||
minimum?: number; | ||
exclusiveMinimum?: number; | ||
/** @desc OpenAPI 3.0: boolean, OpenAPI 3.1: number */ | ||
exclusiveMinimum?: number | boolean; | ||
maxLength?: number; | ||
@@ -311,0 +313,0 @@ minLength?: number; |
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
90540
2398