Adds stubs for item endpoints
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package net.halfbinary.scavengerhuntapi.model.request
|
||||
|
||||
data class ItemRequest(
|
||||
val name: String,
|
||||
val points: Int
|
||||
)
|
||||
@@ -0,0 +1,9 @@
|
||||
package net.halfbinary.scavengerhuntapi.model.response
|
||||
|
||||
import net.halfbinary.scavengerhuntapi.model.ItemId
|
||||
|
||||
data class ItemResponse(
|
||||
val id: ItemId,
|
||||
val name: String,
|
||||
val points: Int
|
||||
)
|
||||
Reference in New Issue
Block a user