This rule belongs to the
swagger-v2-standards-validation ruleset and states that:
The location of the API key specified using property
in of the Security Scheme Object must have only one of the following values:
header. Other types are not supported nor allowed.
|Invalid location for API key found.
|API Transformer, Code Generation, Developer Experience Portal
- Value of API key location is compared in a case-sensitive manner.
- Ensure that the API key location value matches exactly with the possible list of values and that there are no typos:
- Ensure that the value for API key location is not null or empty.