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
If an "out" parameter is used in a C# class which in turn is used as a parameter for a controller, NSwag will generate a method whose parameter is a string instead of the actual type.
Describe the bug
If an "out" parameter is used in a C# class which in turn is used as a parameter for a controller, NSwag will generate a method whose parameter is a string instead of the actual type.
Version used
14.2.0
To Reproduce
The following class..
Used in the following controller...
Generates a client with the following method...
Expected behavior
The generated client would use the type
Id
instead ofstring
.Additional context
Adding a JsonSchemaType attribute on the Parameter seems to get NSwag to generate client correctly. However is this expected use case?
The text was updated successfully, but these errors were encountered: