diff --git a/modules/reference/pages/feature/mpOpenAPI-3.1/examples.adoc b/modules/reference/pages/feature/mpOpenAPI-3.1/examples.adoc index a889eb6ed..79956a5dc 100644 --- a/modules/reference/pages/feature/mpOpenAPI-3.1/examples.adoc +++ b/modules/reference/pages/feature/mpOpenAPI-3.1/examples.adoc @@ -34,4 +34,36 @@ For example, the following configuration is for the `sample_app` application, wh - The `` element sets the info section for the final OpenAPI document, which documents web modules 1, 2, and 4. -For more information, see xref:ROOT:documentation-openapi.adoc#multi-module[Multiple application and multi-module application support with MicroProfile OpenAPI] \ No newline at end of file +For more information, see xref:ROOT:documentation-openapi.adoc#multi-module[Multiple application and multi-module application support with MicroProfile OpenAPI] + + +== mpOpenAPI-4.0 - Will be placed in another doc (Placed here for REVIEW) + +By default, all deployed applications and modules are included in the OpenAPI documentation. However, you can configure which applications and modules should be included. + +For example, the following configuration is for the `sample_app` application, which consists of an `EAR` file containing five web modules. + +[source,xml] +---- + + sample_app/module-3 + sample_app/module-5 + + +---- + +- The `` elements exclude the `module-3` and `module-5` web modules. + +- The `` element sets the info section for the final OpenAPI document, which documents web modules 1, 2, and 4. + +For more information, see xref:ROOT:documentation-openapi.adoc#multi-module[Multiple application and multi-module application support with MicroProfile OpenAPI] +