Skip to content

inline-cycle

Id
@typespec/openapi3/inline-cycle

This diagnostic is issued when a cyclic reference is detected within inline schemas.

Refactor the schemas to remove the cyclic reference, for example by using the @friendlyName decorator to assign an OpenAPI definition name so the type is emitted as a named (non-inline) schema.