mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #20362] [CLOSED] fix: resolve OpenAPI spec validation errors #41208
Reference in New Issue
Block a user
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/open-webui/open-webui/pull/20362
Author: @majiayu000
Created: 1/4/2026
Status: ❌ Closed
Base:
dev← Head:fix/openapi-validation-errors📝 Commits (1)
6c91351fix: resolve OpenAPI spec validation errors📊 Changes
2 files changed (+34 additions, -5 deletions)
View changed files
📝
backend/open_webui/routers/files.py(+4 -1)📝
backend/open_webui/routers/openai.py(+30 -4)📄 Description
Pull Request Checklist
devbranch.Changelog Entry
Description
api_routeinto separate route handlers inopenai.pyto generate unique operationIds for each HTTP method (GET/POST/PUT/DELETE)file_namepath parameter toget_file_content_by_idinfiles.pyFixed
/openai/{path}endpoint (#20359){file_name}in/api/v1/files/{id}/content/{file_name}(#20359)Additional Information
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.