@types/swagger-tools
Advanced tools
Comparing version 0.10.5 to 0.10.6
@@ -31,3 +31,3 @@ // Type definitions for swagger-tools 0.10 | ||
export interface SwaggerRequestParameters { | ||
[paramName: string]: SwaggerRequestParameter<any>; | ||
[paramName: string]: SwaggerRequestParameter<any> | undefined; | ||
} | ||
@@ -86,3 +86,3 @@ | ||
export interface Swagger20Request extends IncomingMessage { | ||
export interface Swagger20Request<P extends SwaggerRequestParameters> extends IncomingMessage { | ||
swagger: { | ||
@@ -94,3 +94,3 @@ apiPath: string; | ||
path: any; | ||
params: SwaggerRequestParameters; | ||
params: P; | ||
security: any[]; | ||
@@ -103,3 +103,3 @@ swaggerObject: any; | ||
export type SwaggerRouter20HandlerFunction = (req: Swagger20Request, res: ServerResponse, next: (arg?: any) => void) => void; | ||
export type SwaggerRouter20HandlerFunction = (req: Swagger20Request<any>, res: ServerResponse, next: (arg?: any) => void) => void; | ||
@@ -106,0 +106,0 @@ export interface SwaggerRouter20OptionsControllers { |
{ | ||
"name": "@types/swagger-tools", | ||
"version": "0.10.5", | ||
"version": "0.10.6", | ||
"description": "TypeScript definitions for swagger-tools", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "047d94c53204fba3730d8ed48c049c444d5179215ecb9b8b6a43e5a2aa81e32c", | ||
"typesPublisherContentHash": "2dcf54751f4c0db3f360d6f0227f8486b85b3f747dd880843f400e10f101ef0f", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 23 Nov 2017 03:29:27 GMT | ||
* Last updated: Fri, 12 Jan 2018 18:52:17 GMT | ||
* Dependencies: connect, http | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
7319