Skip to content

password data type redaction should not be limited to UI #3404

@mgrafl

Description

@mgrafl

The password setting of the modifier property format is described in the Data Types section as "A hint to UIs to obscure input."

`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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions