This is a standalone configuration type, prefix from configuration root: openapi
This type provides the following service implementations:
-
io.helidon.webserver.spi.ServerFeatureProvider
Configuration options
| key | type | default value | description |
|---|---|---|---|
|
|
CORS config. |
|
|
boolean |
|
Sets whether the feature should be enabled. |
|
io.helidon.openapi.OpenApiManager (service provider interface) |
|
OpenAPI manager. |
|
boolean |
|
Whether to allow anybody to access the endpoint. See roles() |
|
string[] |
|
Hints for role names the user is expected to be in. |
|
io.helidon.openapi.OpenApiService[] (service provider interface) |
|
OpenAPI services. |
|
string[] |
|
List of sockets to register this feature on. If empty, it would get registered on all sockets. |
|
string |
|
Path of the static OpenAPI document file. Default types are |
|
string |
|
Web context path for the OpenAPI endpoint. |
|
double |
|
Weight of the OpenAPI feature. This is quite low, to be registered after routing. io.helidon.openapi.OpenApiFeature.WEIGHT. |