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

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 3.0.2 to 3.0.3

7

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

4

dist/cjs/model/OpenApi.d.ts

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

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