Package dev.galasa.framework.api.common
Interface IBeanValidator<T>
- All Known Implementing Classes:
GalasaResourceValidator
,SecretValidator
public interface IBeanValidator<T>
-
Method Summary
-
Method Details
-
validate
Checks that the provided bean is valid according to its validation rules. The provided bean should come from the body of a request that has been serialised into an object according to the OpenAPI specification.- Parameters:
bean
- an instance of the API bean to validate- Throws:
InternalServletException
- if the bean is not valid
-