openapi-police
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,2 +0,2 @@ | ||
export { Schema, SchemaError, SchemaOptions, ValidationError, ValidationOptions } from 'jsonpolice'; | ||
export * from 'jsonpolice'; | ||
export { ParameterError } from './errors'; | ||
@@ -3,0 +3,0 @@ export { ParameterObject } from './parameter'; |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var jsonpolice_1 = require("jsonpolice"); | ||
exports.Schema = jsonpolice_1.Schema; | ||
exports.SchemaError = jsonpolice_1.SchemaError; | ||
exports.ValidationError = jsonpolice_1.ValidationError; | ||
__export(require("jsonpolice")); | ||
var errors_1 = require("./errors"); | ||
@@ -8,0 +8,0 @@ exports.ParameterError = errors_1.ParameterError; |
@@ -265,2 +265,5 @@ export declare namespace OpenAPIV3 { | ||
} | ||
interface OAuth2SecurityScopes { | ||
[scope: string]: string; | ||
} | ||
interface OAuth2SecurityScheme { | ||
@@ -272,5 +275,3 @@ type: 'oauth2'; | ||
refreshUrl?: string; | ||
scopes: { | ||
[scope: string]: string; | ||
}; | ||
scopes: OAuth2SecurityScopes; | ||
}; | ||
@@ -280,5 +281,3 @@ password?: { | ||
refreshUrl?: string; | ||
scopes: { | ||
[scope: string]: string; | ||
}; | ||
scopes: OAuth2SecurityScopes; | ||
}; | ||
@@ -288,5 +287,3 @@ clientCredentials?: { | ||
refreshUrl?: string; | ||
scopes: { | ||
[scope: string]: string; | ||
}; | ||
scopes: OAuth2SecurityScopes; | ||
}; | ||
@@ -297,5 +294,3 @@ authorizationCode?: { | ||
refreshUrl?: string; | ||
scopes: { | ||
[scope: string]: string; | ||
}; | ||
scopes: OAuth2SecurityScopes; | ||
}; | ||
@@ -302,0 +297,0 @@ }; |
{ | ||
"name": "openapi-police", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "OpenAPI v3 validators and utilities", | ||
@@ -73,4 +73,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"jsonpolice": "^8.0.1", | ||
"jsonref": "^5.1.0" | ||
"jsonpolice": "^8.0.2", | ||
"jsonref": "^5.1.1" | ||
}, | ||
@@ -77,0 +77,0 @@ "config": { |
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
28900
753
Updatedjsonpolice@^8.0.2
Updatedjsonref@^5.1.1