-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
Description
The password setting of the modifier property format is described in the Data Types section as "A hint to UIs to obscure input."
OpenAPI-Specification/versions/3.1.0.md
Line 160 in ddcab42
| `string` | `password` | A hint to UIs to obscure input. |
Since the OpenAPI Specification is also relevant for backends, the description should be generalized, e.g., "A hint to UIs and backend systems to obscure/redact the value."
An example for the necessity of redacting the value of a password field is in the toString method generated by the openapi-generator tool: OpenAPITools/openapi-generator#16851
lornajane, LasneF and robjtede