This rule belongs to the
openapi-v3-standards-validation ruleset and states that:
The type of the security scheme specified using property
type of the Security Scheme Object must have only one of the following values:
mutualTLS can also be used but only for OpenAPI v3.1.x documents. Other types are not supported or allowed.
|Message||Invalid type of security scheme found.|
|Broad Category||Security Schemes|
|Products Impacted||API Transformer, Code Generation, Developer Experience Portal|
- Value of security scheme type is compared in a case-sensitive manner.
- Ensure that the security scheme type value matches exactly with the possible list of values and that there are no typos:
- If you are using OpenAPI v3.1.x documents, you can also use the
- Ensure that the value for security scheme type is not null or empty.
For More Information