license-identifier-and-url-are-mutually-exclusive
Overview
This rule belongs to the openapi-v3-standards-validation
ruleset and states that:
The properties identifier
and url
in License Object are mutually exclusive. This means that in a License Object instance, only one of these properties must be present at a time but not both.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | License Object contains both identifier and url properties. |
Code | OPENAPI3STANDARDS_V021 |
Type | Validation |
Rule System | Semantic |
Broad Category | License |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | openapi3 openapi standards semantic validation url identifier license |
Suggested Fixes
- Remove either the
url
oridentifier
property from the License Object.