Enables discovery and exposure of REST APIs within Liberty.
Enabling this feature
To enable the API Discovery 1.0 feature, add the following element declaration into your server.xml
file, inside the featureManager
element:
<feature>apiDiscovery-1.0</feature>
Feature configuration elements
Third-party API packages provided by this feature
-
io.swagger.annotations
Features that this feature enables
Supported Java versions
-
JavaSE-1.8
-
JavaSE-11.0
-
JavaSE-17.0
-
JavaSE-21.0
-
JavaSE-22.0
Developing a feature that depends on this feature
If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content
header in your feature manifest file.
com.ibm.websphere.appserver.apiDiscovery-1.0; type="osgi.subsystem.feature"
SPI packages provided by this feature
-
com.ibm.wsspi.rest.api.discovery