pavlenkodev commented on issue #10678:
URL: https://github.com/apache/apisix/issues/10678#issuecomment-2044413293

   > @pavlenkodev Hi, Do you have any examples of what is expected? For 
example, how to configure, input parameters, expected results
   
   I apologize for taking so long to answer your question. As I see possible 
extensions of this function.
   1. If possible, you can add a response format for the rejected message 
(json, text, xml etc) At the moment, the response in the case of rejected 
message is plain/text
   2. It is possible to organize validation errors into text that could be 
supplied using the keyword $errors, for example.
   ```
   rejected_msg : {myResponse : $errors}
   ```
   
   It seems to me that the proposed options will cover most of the rejected_msg 
use cases, if they can be implemented and if you like them


-- 
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]

Reply via email to