Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageEmpty reference path found.
CodeOPENAPI3APIMATIC_L630
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI References
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 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.

For More Information