mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-25 16:22:35 +03:00
9 lines
225 B
Kotlin
9 lines
225 B
Kotlin
package com.example.demo.responses
|
|
|
|
import com.fasterxml.jackson.annotation.JsonValue
|
|
|
|
enum class ResponseStatus(@JsonValue val status: String) {
|
|
OK("ok"),
|
|
NOT_FOUND("not found"),
|
|
UNPROCESSABLE("unprocessable");
|
|
} |