express-openapi-validator
Advanced tools
Comparing version 0.3.35 to 0.3.36
@@ -7,3 +7,3 @@ "use strict"; | ||
var ono_1 = require("ono"); | ||
var loggingKey = 'express-middleware-openapi'; | ||
var loggingKey = 'express-openapi-validator'; | ||
function OpenApiValidator(options) { | ||
@@ -10,0 +10,0 @@ if (!options.apiSpecPath) |
@@ -31,3 +31,3 @@ "use strict"; | ||
OpenApiSpecLoader.prototype.createFramework = function (args) { | ||
var frameworkArgs = __assign({ featureType: 'middleware', name: 'express-middleware-openapi' }, args); | ||
var frameworkArgs = __assign({ featureType: 'middleware', name: 'express-openapi-validator' }, args); | ||
var framework = new framework_1["default"](frameworkArgs); | ||
@@ -34,0 +34,0 @@ return framework; |
@@ -18,4 +18,4 @@ { | ||
"morgan": "^1.9.1", | ||
"express-middleware-openapi": "file:../" | ||
"express-openapi-validator": "file:../" | ||
} | ||
} |
{ | ||
"name": "express-openapi-validator", | ||
"version": "0.3.35", | ||
"version": "0.3.36", | ||
"description": "", | ||
@@ -9,3 +9,4 @@ "main": "dist/index.js", | ||
"test": "nyc mocha -r source-map-support/register -r ts-node/register --recursive test/**/*.spec.ts", | ||
"coveralls": "cat coverage/lcov.info | coveralls -v" | ||
"coveralls": "cat coverage/lcov.info | coveralls -v", | ||
"codacy": "cat coverage/lcov.info | codacy-coverage" | ||
}, | ||
@@ -12,0 +13,0 @@ "keywords": [], |
@@ -8,3 +8,3 @@ import * as _ from 'lodash'; | ||
const loggingKey = 'express-middleware-openapi'; | ||
const loggingKey = 'express-openapi-validator'; | ||
@@ -11,0 +11,0 @@ export interface OpenApiValidatorOpts { |
@@ -30,3 +30,3 @@ import * as _ from 'lodash'; | ||
featureType: 'middleware', | ||
name: 'express-middleware-openapi', | ||
name: 'express-openapi-validator', | ||
...(args as OpenAPIFrameworkArgs), | ||
@@ -33,0 +33,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
380639