docs(backend): add swagger documentation

This commit is contained in:
Elias Schneider
2023-02-07 11:23:43 +01:00
parent 38de022215
commit 8ab359b71d
14 changed files with 93 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
import { PickType } from "@nestjs/mapped-types";
import { PickType } from "@nestjs/swagger";
import { UserDTO } from "./user.dto";
export class PublicUserDTO extends PickType(UserDTO, ["username"] as const) {}