title: OAS ignoring @Schema(required=false) on property if it marked as @NotNull
body: <p>I have model with field i want to make not required:</p>
  <pre><code>import io.swagger.v3.oas.annotations.media.Schema;
  
  import javax.validation.constraints.NotNull;
  
  public class Model {
      @NotNull
      @Schema(required = false)
      private String name;
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  }
  </code></pre>
  <p>but springdoc automaticaly marks it as required(i know that it's cause of @NotNull annotation)</p>
  <pre><code> &quot;schemas&quot;: {
        &quot;Model&quot;: {
          &quot;required&quot;: [
            &quot;name&quot;
          ],
          &quot;type&quot;: &quot;object&quot;,
          &quot;properties&quot;: {
            &quot;name&quot;: {
              &quot;type&quot;: &quot;string&quot;
            }
          }
        },
  </code></pre>
  <p>So how i can make field not required in generated documentation and leave both annotations i mean @NotNull and @Schema?</p>
  <p>Used dependencies:</p>
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springdoc&lt;/groupId&gt;
      &lt;artifactId&gt;springdoc-openapi-ui&lt;/artifactId&gt;
      &lt;version&gt;1.6.7&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>