properties decorated with @ApiHideProperty()
are being displayed in swagger UI
#2901
Closed
2 of 4 tasks
Labels
Is there an existing issue for this?
Current behavior
I use
@ApiHideProperty()
to decorate some properties, but I see them displayed in swagger UIthis is my Entity
this is Swagger setup
Minimum reproduction code
.
Steps to reproduce
No response
Expected behavior
the
id
property is hidden from the schema, particularly when creating a resource i.e.POST /users
Package version
7.1.16
NestJS version
10.2.10
Node.js version
20.10.0
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: