mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #6296] [MERGED] fix(api-docs): generate request bodies for all encodings #6213
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#6213
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/6296
Author: @rokokol
Created: 8/24/2026
Status: ✅ Merged
Merged: 9/3/2026
Merged by: @MHSanaei
Base:
main← Head:fix/openapi-request-bodies📝 Commits (4)
0c752d2fix(api-docs): generate request bodies for all encodings4f21391fix(api-docs): align alternative request schemase4b599cMerge branch 'main' into fix/openapi-request-bodies3cb89fcfix(api-docs): send object urlencoded fields as JSON, document the inbound update body📊 Changes
7 files changed (+2406 additions, -276 deletions)
View changed files
📝
docs/content/docs/en/reference/api/server.mdx(+6 -6)📝
docs/content/docs/en/reference/api/subscription-balancers.mdx(+6 -6)📝
docs/public/openapi.json(+937 -65)📝
frontend/public/openapi.json(+937 -65)📝
frontend/scripts/build-openapi.mjs(+109 -27)📝
frontend/src/pages/api-docs/endpoints.ts(+271 -107)➕
frontend/src/test/openapi-request-bodies.test.ts(+140 -0)📄 Description
Summary
Testing
npm run testnpm run typechecknpm run lintnpm run format:checknpm run buildpnpm testpnpm typecheckpnpm lintpnpm format:checkpnpm buildinboundIdsform keysopenapi-typescript🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.