title: Adding additional properties in Swagger
body: <p>I am integrating <code>Swagger</code> into my project. I use <code>springfox</code> and <code>open-api 3.0.3.</code></p>
  <p>I want to add field <code>additional items</code> for arrays and <code>additional properties</code> for objects in my auto-generated json (swagger auto-generated api-docs). But I can only find this property in <code>json-schema</code> written by programmers manually, which is not my case.</p>
  <p>Is there any annotation to add to object so <code>Swagger</code> could generate this field?</p>
  <p>Below is my <code>SpringFox</code> configuration:</p>
  <pre><code>@Configuration
  public class SpringFoxConfig {
  
      @Bean
      public Docket postsApi() {
          return new Docket(DocumentationType.OAS_30).select()
                  .apis(RequestHandlerSelectors.basePackage(&quot;packagename&quot;))
                  .build()
                  .apiInfo(metaData());
      }
  
      private ApiInfo metaData() {
          return new ApiInfoBuilder()
                  .title(&quot;Title&quot;)
                  .description(&quot;description&quot;)
                  .version(&quot;1.0.0&quot;)
                  .build();
      }
  
  }
  </code></pre>
  <p>Now my array looks like this:</p>
  <pre><code>&quot;TableArray&quot;: {
      &quot;title&quot;:&quot;TableArray&quot;,
      &quot;type&quot;:&quot;array&quot;,
      &quot;description&quot;: &quot;some info&quot;,
      &quot;items&quot;: {
          &quot;type&quot;: &quot;number&quot;
      }
  }
  </code></pre>
  <p>and I want it to be like</p>
  <pre><code>&quot;TableArray&quot;: {
      &quot;title&quot;:&quot;TableArray&quot;,
      &quot;type&quot;:&quot;array&quot;,
      &quot;description&quot;: &quot;some info&quot;,
      &quot;items&quot;: {
          &quot;type&quot;: &quot;number&quot;
      }
      &quot;additionalItems&quot;: false
  }
  </code></pre>
  <p>Thanks for any help!</p>