openapi3-ts
Advanced tools
Comparing version 0.2.1 to 0.3.1
{ | ||
"name": "openapi3-ts", | ||
"version": "0.2.1", | ||
"version": "0.3.1", | ||
"description": "TS Model & utils for OpenAPI 3.0.x specification.", | ||
@@ -53,6 +53,6 @@ "main": "dist/index.js", | ||
"@types/chai": "^4.0.0", | ||
"@types/mocha": "^2.2.39", | ||
"@types/node": "^7.0.5", | ||
"@types/mocha": "^2.2.41", | ||
"@types/node": "^7.0.22", | ||
"chai": "^4.0.1", | ||
"coveralls": "^2.12.0", | ||
"coveralls": "^2.13.1", | ||
"mocha": "^3.2.0", | ||
@@ -63,4 +63,4 @@ "nyc": "^11.0.1", | ||
"tslint": "^5.4.2", | ||
"typescript": "^2.2.1" | ||
"typescript": "^2.3.4" | ||
} | ||
} |
@@ -10,2 +10,3 @@ # OpenApi3-TS | ||
[![bitHound Overall Score](https://www.bithound.io/github/metadevpro/openapi3-ts/badges/score.svg)](https://www.bithound.io/github/metadevpro/openapi3-ts) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/metadevpro/openapi3-ts/badge.svg)](https://snyk.io/test/github/metadevpro/openapi3-ts) | ||
[![npm version](https://badge.fury.io/js/openapi3-ts.svg)](http://badge.fury.io/js/openapi3-ts) | ||
@@ -12,0 +13,0 @@ |
@@ -11,3 +11,4 @@ import "mocha"; | ||
info: { | ||
title: "app" | ||
title: "app", | ||
version: "version" | ||
}, | ||
@@ -14,0 +15,0 @@ paths: {}, |
@@ -17,3 +17,4 @@ import * as oa from "../model"; | ||
info: { | ||
title: "app" | ||
title: "app", | ||
version: "version" | ||
}, | ||
@@ -147,2 +148,2 @@ paths: {}, | ||
} | ||
} | ||
} |
@@ -22,3 +22,3 @@ // Typed interfaces for OpenAPI 3.0.0-RC | ||
license?: LicenseObject; | ||
version?: string; | ||
version: string; | ||
} | ||
@@ -196,9 +196,9 @@ export interface ContactObject extends ISpecificationExtension { | ||
type?: string; | ||
allOf?: SchemaObject | ReferenceObject; | ||
oneOf?: SchemaObject | ReferenceObject; | ||
anyOf?: SchemaObject | ReferenceObject; | ||
allOf?: (SchemaObject | ReferenceObject)[]; | ||
oneOf?: (SchemaObject | ReferenceObject)[]; | ||
anyOf?: (SchemaObject | ReferenceObject)[]; | ||
not?: SchemaObject | ReferenceObject; | ||
items?: SchemaObject | ReferenceObject; | ||
properties?: SchemaObject | ReferenceObject; | ||
additionalProperties?: SchemaObject | ReferenceObject; | ||
properties?: {[propertyName: string]: (SchemaObject | ReferenceObject)}; | ||
additionalProperties?: (SchemaObject | ReferenceObject)[]; | ||
description?: string; | ||
@@ -245,2 +245,1 @@ format?: string; | ||
} | ||
Sorry, the diff of this file is not supported yet
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
122405
1429
36