-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Labels
bugSomething isn't workingSomething isn't workingneeds investigationWork is needed to figure out the root cause of the problem.Work is needed to figure out the root cause of the problem.
Milestone
Description
If I have defined a component externally, like this:
components:
schemas:
Pet:
$ref: definitions.yaml#/Pet
Then I expect to be able to use it like this:
paths:
'/pet':
get:
responses:
200:
description: return a pet
content:
'application/json':
schema:
$ref: "#/components/schemas/Pet"
However, when I do so, I get an error: cebe\openapi\exceptions\UnresolvableReferenceException : Cyclic reference detected, setReferenceContext() called on a Reference Object.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds investigationWork is needed to figure out the root cause of the problem.Work is needed to figure out the root cause of the problem.