Skip to content

docs: port request-validation plugin documentation#13219

Merged
Yilialinn merged 1 commit intoapache:masterfrom
Yilialinn:docs/update-request-validation
Apr 17, 2026
Merged

docs: port request-validation plugin documentation#13219
Yilialinn merged 1 commit intoapache:masterfrom
Yilialinn:docs/update-request-validation

Conversation

@Yilialinn
Copy link
Copy Markdown
Contributor

@Yilialinn Yilialinn commented Apr 14, 2026

Summary

  • Port request-validation plugin documentation from API7 docs to APISIX
  • Include all three tabs: Admin API, ADC, and Ingress Controller (Gateway API / APISIX CRD)
  • Add both EN and ZH translations
  • Fix original bug: URL-encoded form success response incorrectly said "400 Bad Request" instead of "200 OK"

Port request-validation plugin docs from API7 docs to APISIX with:
- All three tabs (Admin API, ADC, Ingress Controller)
- EN and ZH translations
- Fixed original bug: URL-encoded form success response incorrectly said 400 Bad Request instead of 200 OK
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. doc Documentation things labels Apr 14, 2026
@kayx23 kayx23 requested a review from Copilot April 14, 2026 16:36
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Ports the request-validation plugin documentation from API7 docs into APISIX docs (EN + ZH), adding configuration instructions across Admin API / ADC / Ingress Controller and correcting an incorrect success HTTP status in the URL-encoded form example.

Changes:

  • Added MDX tabbed examples for Admin API, ADC, and Ingress Controller (Gateway API + APISIX CRD).
  • Added/updated translated documentation in both English and Chinese.
  • Fixed URL-encoded form success response from 400 Bad Request to 200 OK (EN).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
docs/zh/latest/plugins/request-validation.md Adds MDX Tabs/TabItem-based multi-API examples for the Chinese docs.
docs/en/latest/plugins/request-validation.md Adds MDX Tabs/TabItem-based multi-API examples and corrects the URL-encoded form success status line.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/en/latest/plugins/request-validation.md
Comment thread docs/en/latest/plugins/request-validation.md
Comment thread docs/zh/latest/plugins/request-validation.md
@Yilialinn Yilialinn merged commit e217c02 into apache:master Apr 17, 2026
12 checks passed
@Yilialinn Yilialinn deleted the docs/update-request-validation branch April 17, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Documentation things size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants