Open matheusmichels opened 8 months ago
In my app, I have the following Elysia/Typebox schema:
const userSchema = t.Object({ ..., password: t.Never(), })
This prevents the API from sending the password field as part of its response.
But even with that, the password field is shown in the Swagger generated docs. I strongly believe it shouldn't be there.
In my app, I have the following Elysia/Typebox schema:
This prevents the API from sending the password field as part of its response.
But even with that, the password field is shown in the Swagger generated docs. I strongly believe it shouldn't be there.