title: Bean validation is not working for spring webflux
body: <p>I have refactored my code to use spring webflux but now <code>@Valid</code> stopped working.
  It is not validating the request body.</p>
  
  <pre><code>@PostMapping(value = "/getContactInfo",produces = "application/json",consumes = "application/json")
  public Flux&lt;UserContactsModel&gt; getUserContacts(@Valid @RequestBody Mono&lt;LoginModel&gt; loginDetail) {
  
      loginDetail.log();
      return contactInfoService
          .getUserContacts(loginDetailApiMapper.loginModelMonoToLoginBoMono(loginDetail))
          .flatMapIterable(
              userContactsBO -&gt; contactInfoMapper.userContactBoToModelList(userContactsBO));
  }
  </code></pre>
  
  <p>I am getting 200 OK in place of Bad request which I am returning from the controller advice.</p>
  
  <p><strong>Edit 1:</strong></p>
  
  <pre><code>   import javax.validation.constraints.NotNull;
     import javax.validation.constraints.Pattern;
  
      public class LoginModel implements Serializable {
  
        private String clientId;
  
        @Pattern(regexp = "^[a-zA-Z0-9]*$", message = "Login ID is invalid")
        @NotNull
        private String loginId;
      }
  </code></pre>
  
  <p><strong>update 1:</strong>
  After changing the code like this and adding @Validated on class level</p>
  
  <pre><code>@RestController
  @Validated
  public class ContactInfoController implements ContactInfoApi {
  public Flux&lt;UserContactsModel&gt; getUserContacts(@RequestBody  Mono&lt;@Valid  LoginModel&gt; loginDetail) {
  </code></pre>
  
  <p>I am getting javax.validation.ConstraintDeclarationException: HV000197: No value extractor found for type parameter 'T' of type reactor.core.publisher.Mono.</p>