title: Add Bean Validation for a Converter
body: <p>I would like to use validation for a converter bean, but I get the following error</p>
  <pre><code> HV000151: A method overriding another method must not redefine the parameter constraint configuration, but method StringToFooConverter#convert(String) redefines the configuration of Converter#convert(Object).
  at org.hibernate.validator.internal.metadata.aggregated.rule.OverridingMethodMustNotAlterParameterConstraints.apply(OverridingMethodMustNotAlterParameterConstraints.java:24)
  at org.hibernate.validator.internal.metadata.aggregated.ExecutableMetaData$Builder.assertCorrectnessOfConfiguration(ExecutableMetaData.java:462)
  at org.hibernate.validator.internal.metadata.aggregated.ExecutableMetaData$Builder.build(ExecutableMetaData.java:380)
  at org.hibernate.validator.internal.metadata.aggregated.BeanMetaDataBuilder$BuilderDelegate.build(BeanMetaDataBuilder.java:260)
  at org.hibernate.validator.internal.metadata.aggregated.BeanMetaDataBuilder.build(BeanMetaDataBuilder.java:133)
  at org.hibernate.validator.internal.metadata.BeanMetaDataManagerImpl.createBeanMetaData(BeanMetaDataManagerImpl.java:206)
  at org.hibernate.validator.internal.metadata.BeanMetaDataManagerImpl.getBeanMetaData(BeanMetaDataManagerImpl.java:165)
  at org.hibernate.validator.internal.engine.ValidatorImpl.validateParameters(ValidatorImpl.java:267)
  at org.hibernate.validator.internal.engine.ValidatorImpl.validateParameters(ValidatorImpl.java:235)
  </code></pre>
  <p>Converter</p>
  <pre><code>   @Validated
  public class StringToFooConverter implements Converter&lt;String, Foo&gt; {
  
     @Override
     public Foo convert( @NotNull final String source ) {
        return new Foo( source );
     }
  }
  </code></pre>
  <p>Config</p>
  <pre><code>   @Bean
     public StringToFooConverter stringToFooConverter() {
        return new StringToFooConverter();
     }
  </code></pre>
  <p>What is wrong?</p>
  <p>EDIT:</p>
  <p>Add a example and what iam tried.
  <a href="https://github.com/MelleD/spring-bean-validation-example" rel="nofollow noreferrer">https://github.com/MelleD/spring-bean-validation-example</a></p>
  <p>Interface and DTO is generated by open api generator. So currently not changeable.</p>