7.4.2-1 • Published 9 months ago

@icecat-studio/nestjs-swagger v7.4.2-1

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

@nestjs/swagger (Fork)

This is a fork of the original @nestjs/swagger package with an additional @ApiSchema decorator.

The @ApiSchema decorator allows renaming DTO classes for schema generation in Swagger. For example, you can rename a class UserCreateDto to UserCreateRequest when generating the API documentation.

Example:

import { ApiSchema } from '@nestjs/swagger';

@ApiSchema({ name: 'UserCreateRequest' })
export class UserCreateDto {
  // DTO properties
}

Addresses the Following Issues

This feature resolves the following issues from the original repository:

By using this decorator, you can easily customize how your DTOs appear in Swagger’s generated schemas, without needing to modify the actual class names in your codebase.

7.4.2-1

9 months ago

7.4.2

9 months ago

7.4.1

9 months ago

7.4.0

9 months ago

7.4.0-rc7

9 months ago

7.4.0-rc6

9 months ago

7.4.0-rc5

9 months ago

7.4.0-rc4

9 months ago

7.4.0-rc3

9 months ago

7.4.0-rc2

9 months ago

7.4.0-rc1

9 months ago