OpenApiFeature (openapi) Configuration

Type: io.helidon.openapi.OpenApiFeature

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

Optional configuration options
keytypedefault valuedescription
cors 

CORS config.

enabled

boolean

true

Sets whether the feature should be enabled.

manager

io.helidon.openapi.OpenApiManager (service provider interface)

 

OpenAPI manager.

permit-all

boolean

true

Whether to allow anybody to access the endpoint.

See roles()

roles

string[]

openapi

Hints for role names the user is expected to be in.

services

io.helidon.openapi.OpenApiService[] (service provider interface)

 

OpenAPI services.

sockets

string[]

 

List of sockets to register this feature on. If empty, it would get registered on all sockets.

static-file

string

 

Path of the static OpenAPI document file. Default types are json, yaml, and yml.

web-context

string

/openapi

Web context path for the OpenAPI endpoint.

weight

double

90.0

Weight of the OpenAPI feature. This is quite low, to be registered after routing. 90.0.