You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the type of the BaseRequest.body property is defined as Optional[bytes]; however, the docstring of the Request protocol (which inherits body from BaseRequest) says:
body
The request body, as string.
I'm currently having some issue with the validation, but it's not clear which direction should I go with the solution -- should body be bytes or str? Have I missed something? Thank you!
The text was updated successfully, but these errors were encountered:
Discussed in #824
Originally posted by berislavlopac April 6, 2024
On this line:
openapi-core/openapi_core/protocols.py
Line 20 in 44b8b3c
the type of the
BaseRequest.body
property is defined asOptional[bytes]
; however, the docstring of theRequest
protocol (which inheritsbody
fromBaseRequest
) says:I'm currently having some issue with the validation, but it's not clear which direction should I go with the solution -- should
body
bebytes
orstr
? Have I missed something? Thank you!The text was updated successfully, but these errors were encountered: