-
-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kin-openapi bug found: circular schema reference not handled error is thrown randomly #764
Comments
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Hi! Thanks for reporting. I've tried reproducing the issue with The flakiness I attribute to visiting and validation using Go's map iteration which is being worked on: #695 but requires preliminary work: #763. This issue is known and one of the causes of #643 being stuck. Anyway: #765 |
Thanks for the response and trying to reproduce it! We use the latest oapi-codegen v1.12.4 which uses kin-openapi v0.107.0. That version does not have the We use |
Did you open an issue there then? |
Sometimes I can use
oapi-codegen
to generate Go types and sometimes it fails:This flakiness is especially confusing. I get around it by just re-running but it's strange.
This is
spec.yaml
:The text was updated successfully, but these errors were encountered: