Skip to main content
Doctorine reference
On this pageOverview

A reference cycle cannot be resolved

The file-level $ref cycle cannot be bundled, so the document cannot be compiled.

spec.refs.cycle-unresolvable

Category
API specification
Default severity
Error
Applies to
API specification
Default outcome
Blocked
Recommended action
Fix the source
Grouped by
Source location

Why it matters

The file-level $ref cycle cannot be bundled, so the document cannot be compiled.

How to fix it

  1. Restructure the files so the $ref chain has a non-cyclic entry.
Documentation menu