Socket
Socket
Sign inDemoInstall

openapi3-ts

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi3-ts - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

6

Changelog.md
# 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 @@

2

dist/cjs/model/openapi31.d.ts

@@ -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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc