Socket
Socket
Sign inDemoInstall

@nestjs/swagger

Package Overview
Dependencies
Maintainers
3
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/swagger - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

decorators/api-bearer.decorator.d.ts
export declare const ApiBearerAuth: () => (
target: object,
key?: any,
descriptor?: any,
descriptor?: any
) => any;

@@ -8,3 +8,3 @@ export declare const ApiImplicitBody: (

isArray?: boolean;
},
}
) => MethodDecorator;

@@ -6,3 +6,3 @@ export declare const ApiImplicitHeader: (

required?: boolean;
},
}
) => MethodDecorator;

@@ -14,3 +14,3 @@ export declare const ApiImplicitHeaders: (

required?: boolean;
}[],
}[]
) => MethodDecorator;

@@ -7,3 +7,3 @@ export declare const ApiImplicitParam: (

type?: any;
},
}
) => MethodDecorator;

@@ -7,3 +7,3 @@ export declare const ApiImplicitQuery: (

type?: any;
},
}
) => MethodDecorator;

@@ -26,3 +26,3 @@ export declare const ApiModelProperty: (

example?: any;
},
}
) => PropertyDecorator;

@@ -53,3 +53,3 @@ export declare const ApiModelPropertyOptional: (

example?: any;
},
}
) => PropertyDecorator;
export declare const ApiOAuth2Auth: (
scopes?: string[],
scopes?: string[]
) => (target: object, key?: any, descriptor?: any) => any;

@@ -6,3 +6,3 @@ export declare const ApiOperation: (

operationId?: string;
},
}
) => MethodDecorator;

@@ -7,3 +7,3 @@ export declare const ApiResponse: (

isArray?: boolean;
},
}
) => (target: any, key?: any, descriptor?: PropertyDescriptor) => any;
export declare const createMethodDecorator: (
metakey: any,
metadata: any,
metadata: any
) => MethodDecorator;
export declare const createClassDecorator: (
metakey: any,
metadata: any,
metadata: any
) => ClassDecorator;
export declare const createPropertyDecorator: (
metakey: any,
metadata: any,
metadata: any
) => PropertyDecorator;
export declare const createMixedDecorator: (
metakey: any,
metadata: any,
metadata: any
) => (target: object, key?: any, descriptor?: any) => any;
export declare const createParamDecorator: (
metadata: any,
initial: any,
initial: any
) => (
target: any,
key: any,
descriptor: PropertyDescriptor,
descriptor: PropertyDescriptor
) => PropertyDescriptor;
export declare const createMultipleParamDecorator: (
multiMetadata: any[],
initial: any,
initial: any
) => (
target: any,
key: any,
descriptor: PropertyDescriptor,
descriptor: PropertyDescriptor
) => PropertyDescriptor;
export declare const exploreGlobalApiConsumesMetadata: (
metatype: any,
metatype: any
) => {

@@ -9,3 +9,3 @@ consumes: any;

prototype: any,
method: any,
method: any
) => any;
export declare const exploreApiOperationMetadata: (
instance: any,
prototype: any,
method: any,
method: any
) => any;

@@ -5,3 +5,3 @@ export declare const exploreApiParametersMetadata: (

prototype: any,
method: any,
method: any
) => {

@@ -12,4 +12,4 @@ parameters: any;

type: any,
definitions: any,
definitions: any
) => any;
export declare const mapTypesToSwaggerTypes: (type: string) => string;
export declare const exploreGlobalApiProducesMetadata: (
metatype: any,
metatype: any
) => {

@@ -9,3 +9,3 @@ produces: any;

prototype: any,
method: any,
method: any
) => any;
export declare const exploreGlobalApiResponseMetadata: (
definitions: any,
metatype: any,
metatype: any
) => {

@@ -11,11 +11,11 @@ responses: any;

prototype: any,
method: any,
method: any
) => any;
export declare const toArrayResponseWithDefinition: (
response: any,
name: any,
name: any
) => any;
export declare const toResponseWithDefinition: (
response: any,
name: any,
name: any
) => any;
export declare const exploreGlobalApiSecurityMetadata: (
metatype: any,
metatype: any
) => {

@@ -9,3 +9,3 @@ security: any[];

prototype: any,
method: any,
method: any
) => any[];
export declare const exploreGlobalApiUseTagsMetadata: (
metatype: any,
metatype: any
) => {

@@ -4,0 +4,0 @@ tags: any;

{
"name": "@nestjs/swagger",
"version": "1.2.0",
"version": "1.2.1",
"description":

@@ -5,0 +5,0 @@ "Nest - modern, fast, powerful node.js web framework (@swagger)",

@@ -22,3 +22,2 @@ <p align="center">

<a href="https://paypal.me/kamilmysliwiec"><img src="https://img.shields.io/badge/Donate-PayPal-dc3d53.svg"/></a>
<img src="https://img.shields.io/badge/👌-Production Ready-78c7ff.svg"/>
<a href="https://twitter.com/nestframework"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a>

@@ -25,0 +24,0 @@ </p>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc