Update RagWithKotlinApplication.kt
This commit is contained in:
@@ -12,6 +12,10 @@ import org.springframework.data.repository.ListCrudRepository
|
||||
import org.springframework.web.servlet.function.ServerResponse
|
||||
import org.springframework.web.servlet.function.router
|
||||
|
||||
|
||||
/**
|
||||
* @author Josh Long
|
||||
*/
|
||||
@SpringBootApplication
|
||||
class RagWithKotlinApplication
|
||||
|
||||
@@ -62,4 +66,4 @@ data class DogAdoptionSuggestion(val name: String, val id: Int, val description:
|
||||
|
||||
interface DogRepository : ListCrudRepository<Dog, Int>
|
||||
|
||||
data class Dog(@Id val id: Int, val name: String, val owner: String?, val description: String)
|
||||
data class Dog(@Id val id: Int, val name: String, val owner: String?, val description: String)
|
||||
|
||||
Reference in New Issue
Block a user