Skip to main content

Support Added for Password Format in API Transformer for OpenAPI (v2.0 and above)

· One min read

We are pleased to announce that we have added the support for password schema format in API Transformer so that you can now transform between OpenAPI specification versions (v2.0 and above) without losing this information.

Details

In OpenAPI (v2.0 and above), you can mark a property as sensitive which could serve as a hint for user interfaces to mask such data e.g. information like passwords, payment card information, social security numbers, etc. This is done by setting the Schema Object (v2, v3.0, v3.1) format as password and is only applicable when type is string.

"schema": {
"type": "string",
"format": "password"
}

You can find more details about available schema data types and formats on the official documentation of OpenAPI specifications: v2.0, v3.0, v3.1.

This feature is now supported in API Transformer and will help you transform this property while converting between OpenAPI (v2.0 and above) formats.