openapi3-ts
Advanced tools
Comparing version 4.1.0 to 4.1.1
# Changelog: openapi3-ts | ||
## Version 4.1.1 | ||
2023.04.15 | ||
- Fix [#112](https://github.com/metadevpro/openapi3-ts/pull/112) Remove `nullable` & deprecate `example` in OAS 3.1 by @samchungy. | ||
## Version 4.1.0 | ||
@@ -4,0 +10,0 @@ |
@@ -209,3 +209,2 @@ import { ServerObject } from './oas-common'; | ||
export interface SchemaObject extends ISpecificationExtension { | ||
nullable?: boolean; | ||
discriminator?: DiscriminatorObject; | ||
@@ -216,2 +215,3 @@ readOnly?: boolean; | ||
externalDocs?: ExternalDocumentationObject; | ||
example?: any; | ||
examples?: any[]; | ||
@@ -218,0 +218,0 @@ deprecated?: boolean; |
@@ -209,3 +209,2 @@ import { ServerObject } from './oas-common'; | ||
export interface SchemaObject extends ISpecificationExtension { | ||
nullable?: boolean; | ||
discriminator?: DiscriminatorObject; | ||
@@ -216,2 +215,3 @@ readOnly?: boolean; | ||
externalDocs?: ExternalDocumentationObject; | ||
example?: any; | ||
examples?: any[]; | ||
@@ -218,0 +218,0 @@ deprecated?: boolean; |
{ | ||
"name": "openapi3-ts", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "TS Model & utils for OpenAPI 3.x specification.", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
@@ -267,4 +267,2 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
export interface SchemaObject extends ISpecificationExtension { | ||
/** nullable supported in v. 3.1.0 */ | ||
nullable?: boolean; | ||
discriminator?: DiscriminatorObject; | ||
@@ -275,2 +273,4 @@ readOnly?: boolean; | ||
externalDocs?: ExternalDocumentationObject; | ||
/** @deprecated use examples instead */ | ||
example?: any; | ||
examples?: any[]; | ||
@@ -277,0 +277,0 @@ deprecated?: boolean; |
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
208048