-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correctly handle multiple methods with similar suffixes #64
Comments
The generator seems to get confused by multiple JSON responses. |
The Is the problem with the generated OpenAPI spec? |
Not really a "problem", but strange still, because probably in runtime the only returned response type is |
Thanks for the help! We've got it working now by restricting the returned response types to only |
Had the same problem with Swashbuckle.AspNetCore. Put this attribute on my controllers |
Problem
When generating Services for an existing OpenApi 3.0.1 Application, the methods have an unnecessary $Json Postfix e.g.
register$Json(...)
instead ofregister(...)
even though they accept and return concrete classes.Method in swagger.json
method in generated service
Expected method in service
Other similar methods are generated as expected and we can't find a pattern why this and other methods are generated like this.
The text was updated successfully, but these errors were encountered: