# This is a sample on how we can merge the OpenApi code generation with the a custom annotation using ConstraintValidator ### Relevant Articles: - [Custom Validation with Swagger Codegen](https://www.baeldung.com/java-swagger-custom-validation)