All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.rocketbase.commons.dto.validation.EmailErrorCodes Maven / Gradle / Ivy

There is a newer version: 4.4.1
Show newest version
package io.rocketbase.commons.dto.validation;

import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;

@Schema(enumAsRef = true)
public enum EmailErrorCodes {
    ALREADY_TAKEN("alreadyTaken"),
    INVALID("invalid"),
    TOO_LONG("tooLong");

    private final String value;

    EmailErrorCodes(String value) {
        this.value = value;
    }

    @JsonValue
    public String getValue() {
        return value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy