required-resource-listing-info
Overview
This rule belongs to the swagger-v1-validation
ruleset and states that:
The root object of a Swagger v1 Resource Listing document must specify metadata about the API using the info
property.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Required property info in root object of Resource Listing document is missing. |
Code | SWAGGER1_V051 |
Type | Validation |
Rule System | Semantic |
Broad Category | Resource Listing |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | swagger1 swagger semantic validation info metadata resource listing |
Suggested Fixes
- Add missing
info
property in the root object i.e. in the top level properties of the document. - Make sure that the
info
property is a valid object and not set as null.