docs(config): annotate multipart limits explaining JSON body is not covered

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-10 09:38:48 +02:00
parent b2a798d90e
commit a5bb5d45a3

View File

@@ -21,6 +21,10 @@ spring:
servlet: servlet:
multipart: multipart:
# NOTE: these limits only apply to multipart/form-data uploads.
# Images sent as base64 inside a JSON body (Content-Type: application/json)
# are NOT constrained here — the @Size(max=7_000_000) annotation on
# RecipeCreateRequest.heroImageUrl enforces the limit for that path.
max-file-size: 5MB max-file-size: 5MB
max-request-size: 6MB max-request-size: 6MB