Skylm808 opened a new pull request, #909: URL: https://github.com/apache/dubbo-go-pixiu/pull/909
**What this PR does**: This PR adds OpenAPI-driven request validation to `dgp.filter.http.apiconfig`. It allows Pixiu to load a local OpenAPI 3.x spec, compile operations into Pixiu routes, and validate matched requests before proxying upstream. The first version covers validation for path, query, header, and JSON request body fields, and returns `400 Bad Request` when validation fails. It also includes a sample OpenAPI spec and related user documentation. **Which issue(s) this PR fixes**: Fixes #857 **Special notes for your reviewer**: This is a first version focused on local OpenAPI files and basic validation rules such as `required`, `type`, `enum`, `minimum`, `maximum`, `minLength`, and `maxLength`. **Does this PR introduce a user-facing change?**: ```release-note Pixiu now supports OpenAPI-driven request validation in `dgp.filter.http.apiconfig` with local OpenAPI 3.x specs. -- 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]
