ojoanalogo / nestjs-redoc

📘 ReDoc frontend for you NestJS swagger API documentation
MIT License
145 stars 56 forks source link

example does not work in ApiHeader #49

Open SonderRill opened 2 years ago

SonderRill commented 2 years ago

@ApiHeader({ name: 'Authorization', example: 'Bearer 2YotnFZFEjr1zCsicMWpAA', description: 'description' }) This gives the following result. The description field is also not clearly displayed at all

image

I would also like to know how to change the default api name of the route AccountConsentsController_createAccountConsents

image

SonderRill commented 2 years ago

I found that the route name can be changed by @ApiOperation ({summary: 'Name operation'}) but the problem with headers still remains