oapi-codegen icon indicating copy to clipboard operation
oapi-codegen copied to clipboard

Issue with specs with circular references

Open gcpagano opened this issue 3 years ago • 0 comments

Specs with circular references that used to be parsed and generated correctly using version 1.11.0 fail parsing when using version 1.12.x with error kin-openapi bug found: circular schema reference not handled

I think the issue is related to https://github.com/getkin/kin-openapi/issues/615 It seems kin-openapi has made CircularReferenceCounter configurable to work around the problem. It would be great if oapi-codegen could expose CircularReferenceCounter as a configuration setting

gcpagano avatar Jan 24 '23 08:01 gcpagano