Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageLicense Object contains both identifier and url properties.
CodeOPENAPI3STANDARDS_V021
TypeValidation
Rule SystemSemantic
Broad CategoryLicense
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi standards semantic validation url identifier license

Suggested Fixes

  • Remove either the url or identifier property from the License Object.

For More Information