You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In commons.yml the $ref points to combined.yml, which points back to a parent node of the first $ref.
For example, when i run swagger-cli bundle ./api/src/swagger/swagger.yml -r -o spec.json
i get the following output: Circular $ref pointer found at /home/doctorfuchs/api/src/swagger/schemas/common.yml#/option-model/oneOf/2/properties/items/items
Edit: BTW it worked a few weeks ago...
The text was updated successfully, but these errors were encountered:
What package are you using for swagger cli? I ran into circular $ref issues with swagger-cli, but it worked with @apidevtools/swagger-cli. You may need to get the latest changes and run npm install to get that npm package. Also, the repo comes with a bundle-swagger command in package.json, so you could try using that.
When you use this command, you run quickly in another problem: swagger-cli#75
Because i want to handle the swagger.yml / swagger.json automatically, errors like this shouldn't happen.
In commons.yml the $ref points to combined.yml, which points back to a parent node of the first $ref.
For example, when i run
swagger-cli bundle ./api/src/swagger/swagger.yml -r -o spec.json
i get the following output:
Circular $ref pointer found at /home/doctorfuchs/api/src/swagger/schemas/common.yml#/option-model/oneOf/2/properties/items/items
Edit: BTW it worked a few weeks ago...
The text was updated successfully, but these errors were encountered: