refactor models
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-05-20 22:59:51 +02:00
parent 34621b432c
commit e86987749b
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
3 changed files with 7 additions and 6 deletions

View File

@ -3,10 +3,6 @@ package com.kmalbz.api.model
import com.google.gson.annotations.SerializedName
import java.time.LocalDate
data class ResponseObject(
@SerializedName("message") val message: String
)
data class ApiObject(
@SerializedName("tag") val tag: String,
@SerializedName("date") val date: LocalDate,

View File

@ -0,0 +1,7 @@
package com.kmalbz.api.model
import com.google.gson.annotations.SerializedName
data class ResponseObject(
@SerializedName("message") val message: String
)

View File

@ -8,8 +8,6 @@ import io.ktor.routing.Routing
import io.ktor.routing.get
import io.ktor.routing.post
import org.koin.ktor.ext.inject
import java.time.LocalDate
import java.time.format.DateTimeFormatter
/**
* Input Service