Skip to content

Commit

Permalink
remove dep on openapi-types
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Jul 22, 2019
1 parent 375cc80 commit 8a35e17
Show file tree
Hide file tree
Showing 6 changed files with 354 additions and 18 deletions.
7 changes: 1 addition & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "express-openapi-validator",
"version": "1.3.0-rc.4",
"version": "1.3.0",
"description": "Automatically validate API requests using an OpenAPI 3 and Express.",
"main": "dist/index.js",
"scripts": {
Expand Down Expand Up @@ -30,7 +30,6 @@
"lodash.merge": "^4.6.2",
"multer": "^1.4.2",
"ono": "^5.0.1",
"openapi-types": "^1.3.5",
"path-to-regexp": "^3.0.0",
"ts-log": "^2.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion src/framework/base.path.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as pathToRegexp from 'path-to-regexp';
import { OpenAPIV3 } from 'openapi-types';
import { OpenAPIV3 } from './types';

interface ServerUrlVariables {
[key: string]: ServerUrlValues;
Expand Down
Loading

0 comments on commit 8a35e17

Please sign in to comment.