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
I'm using swagger-codegen to generate a C# client. In my swagger spec my types include their full namespace because I have classes with the same name spread across different namespaces.
For example I could have a definition for Example.Store.Product in my swagger spec:
@Snelbinder I've filed a PR #668 to fix the issue. I did some tests and the generated code looks good (e.g the return type is PetTest instead of Pet.Test).
I'm using swagger-codegen to generate a C# client. In my swagger spec my types include their full namespace because I have classes with the same name spread across different namespaces.
For example I could have a definition for Example.Store.Product in my swagger spec:
This will generate a ExampleStoreProduct model as follows:
However, in the generated Api file the return type will be Example.Store.Product, which obviously not does compile.
I'm using version 2.1.0-M2 and a Swagger 2.0 spec.
The text was updated successfully, but these errors were encountered: