oapi-codegen
oapi-codegen copied to clipboard
broken code at generating alias type of type in external package
Overview
Because we handle .Ref as simple string in strict-interface.tmpl, an output get like a type ExxxxResponse = ExternalRef0Foo in the case of generating alias type of type in external package. It's invalid code in golang.