Godfunc commented on issue #15348:
URL: https://github.com/apache/dubbo/issues/15348#issuecomment-2862642740

   @oxsean 
   My provider is a REST API that does not use the Dubbo framework. I'm trying 
to use `org.apache.dubbo.extensions:dubbo-rpc-rest` to call the provider's REST 
endpoints. Since Triple REST requires the provider to integrate the Dubbo 
framework, it doesn't suit my use case, so `dubbo-rpc-rest` seems to be my only 
option.
   
   However, `FormConsumerParamParser` supports parameters annotated with 
`@RequestBody`, which causes it to process the request parameters and 
ultimately results in an incorrect request JSON.
   ```java
   public enum ParamType {
       FORM(addSupportTypes(
               JAXRSClassConstants.FORM_PARAM_ANNOTATION_CLASS,
               JAXRSClassConstants.FORM_BODY_ANNOTATION_CLASS,
               SpringMvcClassConstants.REQUEST_BODY_ANNOTATION_CLASS)), // 
replace with REQUEST_PARAM_ANNOTATION_CLASS
   ...
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to