You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<tdclass="tableblock halign-left valign-top"><pclass="tableblock"><code>List of Strings</code>.The list of locales to load OpenAPI on application startup.(comma separated) If not specified, it will preload with the default Locale.</p></td>
<p>For the OpenAPI REST endpoints, you just need to build your application with the spring <code>native</code> profile.</p>
1822
1829
</div>
1830
+
<divclass="paragraph">
1831
+
<p>If you give <code>@OpenAPIDefinition</code> or <code>@SecurityScheme</code> to a class that has no implementation, that class will disappear when you natively compile.
1832
+
To avoid this, give the class a <code>@Configuration</code>.</p>
1833
+
</div>
1834
+
<divclass="listingblock">
1835
+
<divclass="content">
1836
+
<pre>@Configuration
1837
+
@OpenAPIDefinition(info = @Info(title = "My App", description = "description"))
1838
+
public class OpenAPIConfig {
1839
+
}</pre>
1840
+
</div>
1841
+
</div>
1823
1842
</div>
1824
1843
<divclass="sect2">
1825
1844
<h3id="_what_is_the_compatibility_matrix_of_springdoc_openapi_with_spring_boot"><aclass="anchor" href="#_what_is_the_compatibility_matrix_of_springdoc_openapi_with_spring_boot"></a>What is the compatibility matrix of <code>springdoc-openapi</code> with <code>spring-boot</code> ?</h3>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock"><code>List of Strings</code>.The list of locales to load OpenAPI on application startup.(comma separated) If not specified, it will preload with the default Locale.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock"><code>Boolean</code>. If set to <code>true</code>, enables deep linking for tags and operations. See the [Deep Linking documentation](/docs/usage/deep-linking.md) for more information.</p></td>
1677
+
<tdclass="tableblock halign-left valign-top"><pclass="tableblock"><code>Boolean</code>. If set to <code>true</code>, enables deep linking for tags and operations. See the [Deep Linking documentation](<ahref="https://swagger.io/docs/open-source-tools/swagger-ui/usage/deep-linking" class="bare">swagger.io/docs/open-source-tools/swagger-ui/usage/deep-linking</a>) for more information.</p></td>
<p>For the OpenAPI REST endpoints, you just need to build your application with the spring <code>native</code> profile.</p>
4415
4427
</div>
4428
+
<divclass="paragraph">
4429
+
<p>If you give <code>@OpenAPIDefinition</code> or <code>@SecurityScheme</code> to a class that has no implementation, that class will disappear when you natively compile.
4430
+
To avoid this, give the class a <code>@Configuration</code>.</p>
4431
+
</div>
4432
+
<divclass="listingblock">
4433
+
<divclass="content">
4434
+
<pre>@Configuration
4435
+
@OpenAPIDefinition(info = @Info(title = "My App", description = "description"))
4436
+
public class OpenAPIConfig {
4437
+
}</pre>
4438
+
</div>
4439
+
</div>
4416
4440
</div>
4417
4441
<divclass="sect2">
4418
4442
<h3id="what-is-the-compatibility-matrix-of-springdoc-openapi-with-spring-boot"><aclass="anchor" href="#what-is-the-compatibility-matrix-of-springdoc-openapi-with-spring-boot"></a>13.78. What is the compatibility matrix of <code>springdoc-openapi</code> with <code>spring-boot</code> ?</h3>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock"><code>List of Strings</code>.The list of locales to load OpenAPI on application startup.(comma separated) If not specified, it will preload with the default Locale.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock"><code>Boolean</code>. If set to <code>true</code>, enables deep linking for tags and operations. See the [Deep Linking documentation](/docs/usage/deep-linking.md) for more information.</p></td>
418
+
<tdclass="tableblock halign-left valign-top"><pclass="tableblock"><code>Boolean</code>. If set to <code>true</code>, enables deep linking for tags and operations. See the [Deep Linking documentation](<ahref="https://swagger.io/docs/open-source-tools/swagger-ui/usage/deep-linking" class="bare">https://swagger.io/docs/open-source-tools/swagger-ui/usage/deep-linking</a>) for more information.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock"><code>Boolean</code>. If set to <code>true</code>, enables deep linking for tags and operations. See the [Deep Linking documentation](/docs/usage/deep-linking.md) for more information.</p></td>
109
+
<tdclass="tableblock halign-left valign-top"><pclass="tableblock"><code>Boolean</code>. If set to <code>true</code>, enables deep linking for tags and operations. See the [Deep Linking documentation](<ahref="https://swagger.io/docs/open-source-tools/swagger-ui/usage/deep-linking" class="bare">https://swagger.io/docs/open-source-tools/swagger-ui/usage/deep-linking</a>) for more information.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock"><code>List of Strings</code>.The list of locales to load OpenAPI on application startup.(comma separated) If not specified, it will preload with the default Locale.</p></td>
0 commit comments