0.0.13 • Published 9 months ago

@geekbears/gb-nest-helpers v0.0.13

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
9 months ago

gb-nest-helpers

NestJS Swagger Decorator

This package includes a @nestjs/swagger decorator to simplify the documentation of query parameters. The @ApiStandardQuery() decorator acts as an alias to @ApiQuery() and wraps all the standard query parameters used by Geekbears on find and count operations.

Usage

Import the decorator and use it on the corresponding method on the controller class.

import { ApiStandardQuery } from '@geekbears/gb-mongoose-query-parser';

@Get()
@ApiStandardQuery()
async find(@Query() query: any): Promise<any> {
    // Do something
}

License

MIT

0.0.13

9 months ago

0.0.12

10 months ago

0.0.10

12 months ago

0.0.11

11 months ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago