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
I generated POST method from openapi and if I try to send a request with body "null" I get the following response:
HTTP/1.1 400 Bad Request
Connection: keep-alive
Server: kora/undertow
Content-Length: 4
Content-Type: text/plain; charset=utf-8
Date: Wed, 21 Jun 2023 07:21:42 GMT
data
I've already investigated and figured out that such strange answer is caused by NPE in ru.tinkoff.kora.json.module.http.server.JsonReaderHttpServerRequestMapper<T>:22:
I generated POST method from openapi and if I try to send a request with body "null" I get the following response:
I've already investigated and figured out that such strange answer is caused by NPE in
ru.tinkoff.kora.json.module.http.server.JsonReaderHttpServerRequestMapper<T>:22
:Text "data" came from
HandleFuseableConditionalSubscriber#next
:I'd be mush more better to allow
null
body and maybe even to generate validation messages similar to messages fromJsonReader
The text was updated successfully, but these errors were encountered: