You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/08/01 08:06:15 UTC

[GitHub] [apisix-dashboard] shuqingzai commented on issue #2479: 导入 OpenAPI3.0 文档,数据验证

shuqingzai commented on issue #2479:
URL: https://github.com/apache/apisix-dashboard/issues/2479#issuecomment-1200859091

   > Hi, @shuqingzai
   > 
   > In the current implementation, OpenAPI import will generate the response route, which will open the request-validation plugin, and if you need to make changes to it, you can directly modify the route configuration. However, as far as I know, this plugin does not support customizing the error response for a single field. You can take a look at this document. https://apisix.apache.org/docs/apisix/plugins/request-validation
   
   请问该插件可以统一定义 `rejected_msg`,如果在 `openapi.yaml` 导入时,如果定义这个全局的`rejected_msg ` ??? 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org