In present time I'd recommend prisma-class-generator lib which is also listed on Prisma's docs site for generators here. It does the same job, as it's description promises > Generates classes from your Prisma Schema that can be used as DTO, Swagger Response, TypeGraphQL and so on.
Note, my old go to choice wasprisma-generator-nestjs-dto which is also listed on Prisma's docs site.
However it was archived on Jan 5th, 2025 as it was looking for maintainers.