This repository was archived by the owner on Mar 16, 2025. It is now read-only.
parse "?" generic parameter to an explicit object instead of an empty list #30
Labels
enhancement
New feature or request
Milestone
passing a
HttpRequest
to a (Micronaut) controller without providing a body type uses a parameter like this (in kotlin):the mapping to add the parameter is:
Currently this translates to an empty generic parameter list, i.e. the generated java parameter is just
this shows a warning in IDEA: Raw use of parameterized class 'HttpRequest'
The kotlin implementation can implement it as
but it would be nice to generate the java endpoint with generic parameter to remove the warning
The text was updated successfully, but these errors were encountered: