jmix-framework / jmix

Jmix framework
https://www.jmix.io
Apache License 2.0
695 stars 124 forks source link

Wrong Parameter names on @RestService @RestMethod API #3628

Open yeras-is opened 3 months ago

yeras-is commented 3 months ago

Environment

Jmix version: 2.3.1

Bug Description

RestServiceInfo doesn't read method params properly

Steps To Reproduce

Create any @RestService and @RestMethod

Current Behavior

Instead on parameter names it uses arg0, arg1, etc. as names. REST API works only with arg0,arg1 names instead of actual names of paramethers

debug at this point @Component("rest_RestServicesConfiguration") line 77 RestServicesConfiguration.class:77

glebfox commented 3 months ago

Hi,

Thank you for reporting the problem. Could you please add more details? At least, what is line 77, since in java source it's an empty line. A demo project is appreciated.

Regards, Gleb