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

oapi-codegen fails with openapi 3.0.2 and references to relative schemas containing $defs

Open feliperoos opened this issue 3 years ago • 1 comments

Hi Folks,

I'm been looking into a case where we seem to have hit some wall. For some reason, Swagger UI is able to handle the case attached, but the oapi-codegen can't make sense of the included/referenced json schema file.

Made use of oapi-codegen 1.12.4.

openapi-3.0.2-ref-schema-defs.zip

feliperoos avatar Dec 02 '22 06:12 feliperoos

This might be the same as #867

ryepup avatar Jun 04 '25 18:06 ryepup