python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Nestjs/swagger: Avoid some Dtos to be shown on list schemas
I'm using some auxiliary Dtos on my rest API, mainly when occurs some error and I use an @ApiResponse, but I don't want to show them as available schemas on the list at the end of the doc.
I have for ...
MML1357
Votes: 0
Answers: 0
A clean way to check for query parameter in NestJS
I have a nestjs project that is mostly in RESTful structure. Everything works fine, but my concern is that some of the routes check for the presence of some query parameters to fetch data.
for instanc...
Fynix
Votes: 0
Answers: 2
Show recursivity in swagger docs
If I declare DepartmentDto type that recursively references itself:
export class DepartmentDto {
@IsNotEmpty()
@IsString()
@ApiProperty()
id: string;
@IsNotEmpty()
@IsString()
@ApiPrope...
Ruslan Plastun
Votes: 0
Answers: 1
NestJS OpenAPI TS types missing entities
I've got a NestJS app with Mikro-ORM and I'm generating OpenAPI TS types using openapi-typescript for the front-end. I'm using the @ApiProperty decorator to add types to the entity relations, but only...
SimpleJ
Votes: 0
Answers: 0