Skip to main content

non-empty-license-name

Overview

This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:

In the OpenAPI 3.0 specification, the license name is a required property. The license object must contain a non-null, non-empty and valid name property.

PropertyValue
EnabledNo
Maximum SeverityError
MessageRequired license name is null or empty.
CodeOPENAPI3APIMATIC_L080
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Licenses
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting API license object license name required missing empty

Suggested Fixes

  • Define the name of the license to be used for the API within the license object.
  • Ensure that the license name is not null or empty.

For More Information