inline-cycle
@typespec/openapi3/inline-cycleSeverity: error
This diagnostic is issued when a cyclic reference is detected within inline schemas.
To fix this issue, refactor the schemas to remove the cyclic reference.
Example
Section titled โExampleโcomponents: schemas: Node: type: object properties: value: type: string next: $ref: "#/components/schemas/Node"In this example, the Node schema references itself, creating a cyclic reference. To fix this issue, refactor the schema to remove the cyclic reference.