This commit is contained in:
parent
34621b432c
commit
e86987749b
@ -3,10 +3,6 @@ package com.kmalbz.api.model
|
|||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import java.time.LocalDate
|
import java.time.LocalDate
|
||||||
|
|
||||||
data class ResponseObject(
|
|
||||||
@SerializedName("message") val message: String
|
|
||||||
)
|
|
||||||
|
|
||||||
data class ApiObject(
|
data class ApiObject(
|
||||||
@SerializedName("tag") val tag: String,
|
@SerializedName("tag") val tag: String,
|
||||||
@SerializedName("date") val date: LocalDate,
|
@SerializedName("date") val date: LocalDate,
|
||||||
|
7
src/api/model/ResponseObject.kt
Normal file
7
src/api/model/ResponseObject.kt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
package com.kmalbz.api.model
|
||||||
|
|
||||||
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
data class ResponseObject(
|
||||||
|
@SerializedName("message") val message: String
|
||||||
|
)
|
@ -8,8 +8,6 @@ import io.ktor.routing.Routing
|
|||||||
import io.ktor.routing.get
|
import io.ktor.routing.get
|
||||||
import io.ktor.routing.post
|
import io.ktor.routing.post
|
||||||
import org.koin.ktor.ext.inject
|
import org.koin.ktor.ext.inject
|
||||||
import java.time.LocalDate
|
|
||||||
import java.time.format.DateTimeFormatter
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Input Service
|
* Input Service
|
||||||
|
Loading…
Reference in New Issue
Block a user