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.
Property | Value |
---|---|
Enabled | No |
Maximum Severity | Error |
Message | Required license name is null or empty. |
Code | OPENAPI3APIMATIC_L080 |
Type | Linting |
Rule System | Semantic |
Broad Category | OpenAPI Licenses |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | openapi3 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.