-
-
Notifications
You must be signed in to change notification settings - Fork 995
Open
Description
Example: #2096
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.
Example OAS
How the problem appears
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:
Metadata
Metadata
Assignees
Labels
No labels