fix: hide upload_file from OpenAPI schema

This commit is contained in:
Timothy Jaeryang Baek committed 2026-03-01 19:47:32 -06:00
1 parent 35a7b5788b
commit ff7fb06154
3 files changed
+10 -3

No files matched your search

+8 -2
View File
@@ -4,12 +4,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## [0.4.1] - 2026-03-01
### Fixed
- 🙈 **Hidden upload_file from OpenAPI schema** — the /files/upload endpoint is now excluded from the public API docs, consistent with other internal-only file endpoints.
## [0.4.0] - 2026-03-01
### Removed
- 📥 **Temporary download links** (`GET /files/download/link` and `GET /files/download/{token}`) — deprecated in favour of direct file navigation built into Open WebUI.
- 🔗 **Temporary upload links** (`POST /files/upload/link`, `GET /files/upload/{token}`, and `POST /files/upload/{token}`) — deprecated in favour of direct file navigation built into Open WebUI.
- 📥 **Temporary download links** (GET /files/download/link and GET /files/download/{token}) — deprecated in favour of direct file navigation built into Open WebUI.
- 🔗 **Temporary upload links** (POST /files/upload/link, GET /files/upload/{token}, and POST /files/upload/{token}) — deprecated in favour of direct file navigation built into Open WebUI.
## [0.3.0] - 2026-02-25
+1
View File
@@ -813,6 +813,7 @@ async def glob_search(
@app.post(
"/files/upload",
include_in_schema=False,
operation_id="upload_file",
summary="Upload a file",
description="Save a file to the specified path. Provide a `url` to fetch remotely, or send the file directly via multipart form data.",
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "open-terminal"
version = "0.4.0"
version = "0.4.1"
description = "A remote terminal API."
readme = "README.md"
authors = [