このフィーチャーは、エンタープライズ Java のための Eclipse MicroProfile OpenAPI 仕様のサポートを提供します。
このフィーチャーを使用可能にする
MicroProfile OpenAPI 1.1 フィーチャーを使用可能にするには、次のエレメント宣言を server.xml
ファイルの featureManager
エレメント内に追加します。
<feature>mpOpenAPI-1.1</feature>
フィーチャー構成エレメント
このフィーチャーが提供する安定した API パッケージ
-
org.eclipse.microprofile.openapi
-
org.eclipse.microprofile.openapi.annotations
-
org.eclipse.microprofile.openapi.annotations.callbacks
-
org.eclipse.microprofile.openapi.annotations.enums
-
org.eclipse.microprofile.openapi.annotations.extensions
-
org.eclipse.microprofile.openapi.annotations.headers
-
org.eclipse.microprofile.openapi.annotations.info
-
org.eclipse.microprofile.openapi.annotations.links
-
org.eclipse.microprofile.openapi.annotations.media
-
org.eclipse.microprofile.openapi.annotations.parameters
-
org.eclipse.microprofile.openapi.annotations.responses
-
org.eclipse.microprofile.openapi.annotations.security
-
org.eclipse.microprofile.openapi.annotations.servers
-
org.eclipse.microprofile.openapi.annotations.tags
-
org.eclipse.microprofile.openapi.models
-
org.eclipse.microprofile.openapi.models.callbacks
-
org.eclipse.microprofile.openapi.models.examples
-
org.eclipse.microprofile.openapi.models.headers
-
org.eclipse.microprofile.openapi.models.info
-
org.eclipse.microprofile.openapi.models.links
-
org.eclipse.microprofile.openapi.models.media
-
org.eclipse.microprofile.openapi.models.parameters
-
org.eclipse.microprofile.openapi.models.responses
-
org.eclipse.microprofile.openapi.models.security
-
org.eclipse.microprofile.openapi.models.servers
-
org.eclipse.microprofile.openapi.models.tags
-
org.eclipse.microprofile.openapi.spi
このフィーチャーが使用可能にするフィーチャー
サポートされる Java バージョン
-
JavaSE-1.8
-
JavaSE-11.0
-
JavaSE-17.0
-
JavaSE-21.0
-
JavaSE-22.0
このフィーチャーを使用可能にするフィーチャー
このフィーチャーに依存するフィーチャーの開発
このフィーチャーに依存するフィーチャーを開発する場合は、フィーチャー・マニフェスト・ファイル内の Subsystem-Content
ヘッダーに次の項目を含めます。
com.ibm.websphere.appserver.mpOpenAPI-1.1; type="osgi.subsystem.feature"