non-empty-dollar-ref-path
Overview
This rule belongs to the openapi-v3-apimatic-linting
ruleset and states that:
Path assigned to a $ref must be non-null, non-empty and valid reference path that must be defined within the specification.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Empty reference path found. |
Code | OPENAPI3APIMATIC_L630 |
Type | Linting |
Rule System | Semantic |
Broad Category | OpenAPI References |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | openapi3 openapi apimatic semantic linting reference $ref empty |
Suggested Fixes
- Make sure all $refs have non-null and non-empty path assigned to them.
- Make sure $ref path points to the valid location within the specification.