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

broken code at generating alias type of type in external package

Open masu-mi opened this issue 3 years ago • 0 comments

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.

masu-mi avatar Sep 12 '22 12:09 masu-mi