├── .editorconfig ├── .eslintrc.yml ├── .github └── workflows │ └── build.yml ├── .gitignore ├── .husky ├── commit-msg ├── pre-commit └── pre-push ├── .nvmrc ├── .prettierrc.yml ├── LICENSE ├── README.md ├── jest.config.ts ├── package.json ├── src ├── core.spec.ts ├── core.ts ├── decorators │ ├── is-boolean.spec.ts │ ├── is-boolean.ts │ ├── is-constant.spec.ts │ ├── is-constant.ts │ ├── is-date.spec.ts │ ├── is-date.ts │ ├── is-enum.spec.ts │ ├── is-enum.ts │ ├── is-nested.spec.ts │ ├── is-nested.ts │ ├── is-number.spec.ts │ ├── is-number.ts │ ├── is-object.spec.ts │ ├── is-object.ts │ ├── is-string.spec.ts │ ├── is-string.ts │ ├── is-unknown.spec.ts │ ├── is-unknown.ts │ ├── typed-headers.decorator.spec.ts │ └── typed-headers.decorator.ts └── nestjs-swagger-dto.ts ├── tests └── helpers.ts ├── tsconfig.build.json └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/.eslintrc.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .coverage 3 | .vscode 4 | lib 5 | docs 6 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | lint-staged 5 | -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/.husky/pre-push -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 20 2 | -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/.prettierrc.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/jest.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/package.json -------------------------------------------------------------------------------- /src/core.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/core.spec.ts -------------------------------------------------------------------------------- /src/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/core.ts -------------------------------------------------------------------------------- /src/decorators/is-boolean.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-boolean.spec.ts -------------------------------------------------------------------------------- /src/decorators/is-boolean.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-boolean.ts -------------------------------------------------------------------------------- /src/decorators/is-constant.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-constant.spec.ts -------------------------------------------------------------------------------- /src/decorators/is-constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-constant.ts -------------------------------------------------------------------------------- /src/decorators/is-date.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-date.spec.ts -------------------------------------------------------------------------------- /src/decorators/is-date.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-date.ts -------------------------------------------------------------------------------- /src/decorators/is-enum.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-enum.spec.ts -------------------------------------------------------------------------------- /src/decorators/is-enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-enum.ts -------------------------------------------------------------------------------- /src/decorators/is-nested.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-nested.spec.ts -------------------------------------------------------------------------------- /src/decorators/is-nested.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-nested.ts -------------------------------------------------------------------------------- /src/decorators/is-number.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-number.spec.ts -------------------------------------------------------------------------------- /src/decorators/is-number.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-number.ts -------------------------------------------------------------------------------- /src/decorators/is-object.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-object.spec.ts -------------------------------------------------------------------------------- /src/decorators/is-object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-object.ts -------------------------------------------------------------------------------- /src/decorators/is-string.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-string.spec.ts -------------------------------------------------------------------------------- /src/decorators/is-string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-string.ts -------------------------------------------------------------------------------- /src/decorators/is-unknown.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-unknown.spec.ts -------------------------------------------------------------------------------- /src/decorators/is-unknown.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/is-unknown.ts -------------------------------------------------------------------------------- /src/decorators/typed-headers.decorator.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/typed-headers.decorator.spec.ts -------------------------------------------------------------------------------- /src/decorators/typed-headers.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/decorators/typed-headers.decorator.ts -------------------------------------------------------------------------------- /src/nestjs-swagger-dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/src/nestjs-swagger-dto.ts -------------------------------------------------------------------------------- /tests/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/tests/helpers.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glebbash/nestjs-swagger-dto/HEAD/tsconfig.json --------------------------------------------------------------------------------