mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-16 23:11:04 -05:00
Add PUT /api/v2/user/settings/avatar, the first multipart/form-data file upload on the Huma-backed v2 API. Reuses v1's byte-level mime validation (mimetype.DetectReader) and storage (upload.StoreAvatarFile), modeling the request as a huma.MultipartFormFiles input so it renders as multipart/form-data in the OpenAPI spec instead of being read off the raw echo context. Flips the user's avatar provider to "upload" on success. Authenticated (JWT).
1017 B
1017 B