@interledger/openapi
Advanced tools
Comparing version 2.0.0 to 2.0.1
import { OpenAPIV3, OpenAPIV3_1 } from 'openapi-types'; | ||
export { createValidatorMiddleware } from './middleware'; | ||
export { createValidatorMiddleware, OpenAPIValidatorMiddlewareError } from './middleware'; | ||
export declare const HttpMethod: { | ||
@@ -4,0 +4,0 @@ GET: OpenAPIV3.HttpMethods.GET; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isValidationError = exports.createOpenAPI = exports.isHttpMethod = exports.HttpMethod = exports.createValidatorMiddleware = void 0; | ||
exports.isValidationError = exports.createOpenAPI = exports.isHttpMethod = exports.HttpMethod = exports.OpenAPIValidatorMiddlewareError = exports.createValidatorMiddleware = void 0; | ||
const json_schema_ref_parser_1 = __importDefault(require("@apidevtools/json-schema-ref-parser")); | ||
@@ -18,2 +18,3 @@ const _2020_1 = __importDefault(require("ajv/dist/2020")); | ||
Object.defineProperty(exports, "createValidatorMiddleware", { enumerable: true, get: function () { return middleware_1.createValidatorMiddleware; } }); | ||
Object.defineProperty(exports, "OpenAPIValidatorMiddlewareError", { enumerable: true, get: function () { return middleware_1.OpenAPIValidatorMiddlewareError; } }); | ||
exports.HttpMethod = { | ||
@@ -20,0 +21,0 @@ ...openapi_types_1.OpenAPIV3.HttpMethods |
{ | ||
"name": "@interledger/openapi", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Validates requests and responses according to an OpenAPI 3.1 schema", | ||
@@ -5,0 +5,0 @@ "author": "Interledger Tech Team <tech@interledger.org>", |
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
24809
229