Skip to content

Commit fdb37f0

Browse files
committed
Add comment
1 parent 1a24d89 commit fdb37f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/parsers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# NOTE: This class is needed to work with auto-generated OpenAPI SDKs.
66
# It's important to mention that MultiParser from DRF needs from nested
77
# dotted notation, e.g: location.point.latitude, location.point.longitude
8+
# See: https://b0uh.github.io/drf-how-to-handle-arrays-and-nested-objects-in-a-multipartform-data-request.html
89
# But most OpenAPI SDKs (like openapi-generator) do not support that.
910
# They only support nested JSON objects (encoded to string!), e.g:
1011
# location: '{"point": {"latitude": .., "longitude": ..} }'

0 commit comments

Comments
 (0)