mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-26 00:32:34 +03:00
10 lines
257 B
Kotlin
10 lines
257 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"),
|
|
BAD_REQUEST("bad request"),
|
|
UNPROCESSABLE("unprocessable");
|
|
} |