Open sinjap opened 6 years ago
Stumbled upon this, the underlying issue is that the parameter name is not available via reflection. Either add the "-parameters" compiler option or specify the name in the @PathVariable
directly.
Would be interested to know though how Spring does it at runtime when parameter names are not compiled.
This happens when I add a
@Pathvariable
in my method. My method signature is as following:Without the
@Pathvariable
, the swagger-codegen runs fine but not acceptable for me. Please could you investigate the underlying issue?