oatpp-swagger
                                
                                 oatpp-swagger copied to clipboard
                                
                                    oatpp-swagger copied to clipboard
                            
                            
                            
                        To use "application/x-www-form-urlencoded" with readBodyDtoAsync
If we want to a consume DTO like this
info->addConsumes<Object<MyDTO>>("application/x-www-form-urlencoded");
when we try to read DTO like this
return request->readBodyToDtoAsync<Object<MyDTO>>(controller->getDefaultObjectMapper()).callbackTo(&MyClass::MyCallback);
There is a problem with the bodyDecoder and the callback is not called.