Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide a model property #63

Open
hosseinsalemi opened this issue Oct 23, 2023 · 1 comment
Open

Hide a model property #63

hosseinsalemi opened this issue Oct 23, 2023 · 1 comment

Comments

@hosseinsalemi
Copy link

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?

@foyarash
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants