main.com.saadahmedev.base.validator.functional.CreateRequestValidator.kt Maven / Gradle / Ivy
Go to download
Base Spring Boot service is created to simplify code base and gives a lot of boilerplate codes
package com.saadahmedev.base.validator.functional
import com.saadahmedev.base.exception.ApiException
import jakarta.annotation.Nullable
import kotlin.jvm.Throws
@FunctionalInterface
interface CreateRequestValidator {
@Throws(ApiException::class)
fun validateCreateRequest(@Nullable body: DTO)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy