mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-26 00:32:34 +03:00
add new api methods to product controller
This commit is contained in:
@@ -3,5 +3,7 @@ package com.example.demo.responses
|
||||
import com.fasterxml.jackson.annotation.JsonValue
|
||||
|
||||
enum class ResponseStatus(@JsonValue val status: String) {
|
||||
NOT_FOUND("not found");
|
||||
OK("ok"),
|
||||
NOT_FOUND("not found"),
|
||||
UNPROCESSABLE("unprocessable");
|
||||
}
|
||||
Reference in New Issue
Block a user