You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generated path responses can conflict with schema definitions #2097
I noticed when using this generator that when attempting to use the "client with response", the returned type is busted. In particular, it's because there are two types with the same name: one seems to be defined in the schemas and one seems to be generated from the paths definition.
The presenting problem was that resp.Status gave me an IDE warning: invalid operation: cannot indirect resp.Status (value of type func() string). In reality, there are two types in the generated file with the same name:
Activity
feat: multi-pass type name resolution
feat: multi-pass type name resolution
feat: multi-pass type name resolution
feat: multi-pass type name resolution
feat: multi-pass type name resolution
feat: multi-pass type name resolution
feat: multi-pass type name resolution
feat: multi-pass type name resolution
feat: multi-pass type name resolution (#2213)
mromaszewicz commentedon Mar 2, 2026
This was addressed in #2213, please enable name conflict resolution via the output options and file a new issue if it doesn't work for you