We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dff2ef4 + c2c5361 commit 869a031Copy full SHA for 869a031
src/main/kotlin/org/gitanimals/quiz/app/InboxApi.kt
@@ -1,13 +1,14 @@
1
package org.gitanimals.quiz.app
2
3
import org.gitanimals.inbox.domain.InboxType
4
+import org.springframework.web.bind.annotation.RequestBody
5
import org.springframework.web.service.annotation.PostExchange
6
import java.time.Instant
7
8
fun interface InboxApi {
9
10
@PostExchange("/internals/inboxes")
- fun inputInbox(request: InboxInputRequest)
11
+ fun inputInbox(@RequestBody request: InboxInputRequest)
12
13
data class InboxInputRequest(
14
val inboxData: InboxData,
0 commit comments