Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openapi-types

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-types - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # openapi-types Changelog

## 1.3.3 - 2019-01-22
### Fixed
- Allowing to set a property of BaseSchemaObject as a reference to another SchemaObject (#312)
## 1.3.2 - 2018-10-17

@@ -9,0 +13,0 @@ ### Added

40

dist/index.d.ts

@@ -52,3 +52,3 @@ export declare namespace OpenAPI {

enum?: string[];
'default': string;
default: string;
description?: string;

@@ -72,3 +72,3 @@ }

servers?: ServerObject[];
parameters?: (ReferenceObject | ParameterObject)[];
parameters?: Array<ReferenceObject | ParameterObject>;
}

@@ -81,4 +81,4 @@ interface OperationObject {

operationId?: string;
parameters?: (ReferenceObject | ParameterObject)[];
requestBody?: (ReferenceObject | RequestBodyObject);
parameters?: Array<ReferenceObject | ParameterObject>;
requestBody?: ReferenceObject | RequestBodyObject;
responses?: ResponsesObject;

@@ -133,3 +133,3 @@ callbacks?: {

format?: string;
'default'?: any;
default?: any;
multipleOf?: number;

@@ -150,10 +150,10 @@ maximum?: number;

required?: string[];
'enum'?: any[];
enum?: any[];
properties?: {
[name: string]: SchemaObject;
[name: string]: ReferenceObject | SchemaObject;
};
allOf?: (ReferenceObject | SchemaObject)[];
oneOf?: (ReferenceObject | SchemaObject)[];
anyOf?: (ReferenceObject | SchemaObject)[];
not?: (ReferenceObject | SchemaObject);
allOf?: Array<ReferenceObject | SchemaObject>;
oneOf?: Array<ReferenceObject | SchemaObject>;
anyOf?: Array<ReferenceObject | SchemaObject>;
not?: ReferenceObject | SchemaObject;
nullable?: boolean;

@@ -217,3 +217,3 @@ discriminator?: DiscriminatorObject;

interface ResponsesObject {
[code: string]: (ReferenceObject | ResponseObject);
[code: string]: ReferenceObject | ResponseObject;
}

@@ -450,6 +450,6 @@ interface ResponseObject {

[index: string]: Response | any;
'default': Response;
default: Response;
}
type Parameters = (ReferenceObject | Parameter)[];
type Parameter = (InBodyParameterObject | GeneralParameterObject);
type Parameters = Array<ReferenceObject | Parameter>;
type Parameter = InBodyParameterObject | GeneralParameterObject;
interface InBodyParameterObject extends ParameterObject {

@@ -467,3 +467,3 @@ schema: Schema;

del?: OperationObject;
'delete'?: OperationObject;
delete?: OperationObject;
options?: OperationObject;

@@ -482,3 +482,3 @@ head?: OperationObject;

name: string;
'in': string;
in: string;
description?: string;

@@ -515,3 +515,3 @@ required?: boolean;

collectionFormat?: string;
'default'?: any;
default?: any;
maximum?: number;

@@ -527,3 +527,3 @@ exclusiveMaximum?: boolean;

uniqueItems?: boolean;
'enum'?: any[];
enum?: any[];
multipleOf?: number;

@@ -592,3 +592,3 @@ $ref?: string;

};
'enum'?: any[];
enum?: any[];
type?: string | string[];

@@ -595,0 +595,0 @@ allOf?: IJsonSchema[];

{
"name": "openapi-types",
"version": "1.3.2",
"version": "1.3.3",
"description": "Types for OpenAPI documents.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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