Hide a model property
hosseinsalemi opened this issue · comments
Hossein Saleminejad commented
I have a model named User
.
model User {
id Int @id @default(autoincrement())
username String @unique
password String
}
How can I hide password
property in swagger?
Hugo FOYART commented
Hello @hosseinsalemi , currently its not possible to hide a specific field from the Swagger. However this should be possible to add some related config in the NextCrud
swagger options