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
Include format with Secret types #546
Comments
you mean in the schema? |
Yes, sorry should have specified. |
@djlambert they have There's no official And the |
It wouldn't be custom, it's in the OpenAPI specs https://swagger.io/specification/#dataTypes |
You're right @djlambert. It's not in JSON Schema but it's indeed in OpenAPI. I think that deserves a PR. |
Here's a PR: #1424 |
This can be closed due to fix merged in PR #1424 |
* allow partials to call validator * add function_name
Feature Request
It'd be nice if
SecretStr
andSecretBytes
included theformat
attribute with valuepassword
to hint UIs to mask the password.The text was updated successfully, but these errors were encountered: