inline-cycle
@typespec/openapi3/inline-cycleThis diagnostic is issued when a cyclic reference is detected within inline schemas.
How to fix
Section titled “How to fix”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.