openapi3-ts
Advanced tools
Comparing version 3.0.2 to 3.0.3
# Changelog: openapi3-ts | ||
## Version 3.0.3 | ||
2022.10.06 | ||
- PR [#87](https://github.com/metadevpro/openapi3-ts/pull/87) Enable type array for schema object on OpenAPI 3.1. contributed by @samchungy | ||
## Version 3.0.2 | ||
@@ -4,0 +11,0 @@ |
@@ -215,2 +215,3 @@ import { ISpecificationExtension } from './SpecificationExtension.js'; | ||
export declare function isReferenceObject(obj: any): obj is ReferenceObject; | ||
declare type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array'; | ||
export interface SchemaObject extends ISpecificationExtension { | ||
@@ -226,3 +227,3 @@ nullable?: boolean; | ||
deprecated?: boolean; | ||
type?: 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array'; | ||
type?: SchemaObjectType | SchemaObjectType[]; | ||
format?: 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string; | ||
@@ -303,1 +304,2 @@ allOf?: (SchemaObject | ReferenceObject)[]; | ||
} | ||
export {}; |
@@ -215,2 +215,3 @@ import { ISpecificationExtension } from './SpecificationExtension.js'; | ||
export declare function isReferenceObject(obj: any): obj is ReferenceObject; | ||
declare type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array'; | ||
export interface SchemaObject extends ISpecificationExtension { | ||
@@ -226,3 +227,3 @@ nullable?: boolean; | ||
deprecated?: boolean; | ||
type?: 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array'; | ||
type?: SchemaObjectType | SchemaObjectType[]; | ||
format?: 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string; | ||
@@ -303,1 +304,2 @@ allOf?: (SchemaObject | ReferenceObject)[]; | ||
} | ||
export {}; |
{ | ||
"name": "openapi3-ts", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "TS Model & utils for OpenAPI 3.x specification.", | ||
@@ -33,11 +33,12 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"yaml": "^2.1.1" | ||
"yaml": "^2.1.3" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.7.13", | ||
"@typescript-eslint/eslint-plugin": "^5.35.1", | ||
"@typescript-eslint/parser": "^5.35.1", | ||
"@types/node": "^18.8.2", | ||
"@typescript-eslint/eslint-plugin": "^5.39.0", | ||
"@typescript-eslint/parser": "^5.39.0", | ||
"@vitest/coverage-c8": "^0.23.4", | ||
"c8": "^7.12.0", | ||
"coveralls": "^3.1.1", | ||
"eslint": "^8.23.0", | ||
"eslint": "^8.24.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
@@ -47,6 +48,6 @@ "eslint-plugin-prettier": "^4.2.1", | ||
"rimraf": "^3.0.2", | ||
"typescript": "~4.7.4", | ||
"vitest": "^0.22.1", | ||
"vitest-teamcity-reporter": "^0.1.7" | ||
"typescript": "~4.8.4", | ||
"vitest": "^0.23.4", | ||
"vitest-teamcity-reporter": "^0.1.9" | ||
} | ||
} |
@@ -270,2 +270,4 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array'; | ||
export interface SchemaObject extends ISpecificationExtension { | ||
@@ -282,3 +284,3 @@ nullable?: boolean; | ||
type?: 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array'; | ||
type?: SchemaObjectType | SchemaObjectType[]; | ||
format?: | ||
@@ -285,0 +287,0 @@ | 'int32' |
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
90985
2403
14
Updatedyaml@^2.1.3