@ConfigRoot(name="smallrye-openapi") public final class SmallRyeOpenApiConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SmallRyeOpenApiConfig.SecurityScheme |
| Modifier and Type | Field and Description |
|---|---|
String |
basicSecuritySchemeValue
Add a scheme value to the Basic HTTP Security Scheme
|
String |
jwtBearerFormat
Add a scheme value to the JWT Security Scheme
|
String |
jwtSecuritySchemeValue
Add a scheme value to the JWT Security Scheme
|
Optional<String> |
oauth2ImplicitAuthorizationUrl
Add an implicit flow authorizationUrl value to the OAuth2 Security Scheme
|
Optional<String> |
oauth2ImplicitRefreshUrl
Add a implicit flow refreshUrl value to the OAuth2 Security Scheme
|
Optional<String> |
oauth2ImplicitTokenUrl
Add an implicit flow tokenUrl value to the OAuth2 Security Scheme
|
Optional<String> |
oidcOpenIdConnectUrl
Add a openIdConnectUrl value to the OIDC Security Scheme
|
String |
path
The path at which to register the OpenAPI Servlet.
|
Optional<SmallRyeOpenApiConfig.SecurityScheme> |
securityScheme
Add a certain SecurityScheme with config
|
String |
securitySchemeDescription
Add a description to the Security Scheme
|
String |
securitySchemeName
Add a Security Scheme name to the generated OpenAPI document
|
Optional<Path> |
storeSchemaDirectory
If set, the generated OpenAPI schema documents will be stored here on build.
|
| Constructor and Description |
|---|
SmallRyeOpenApiConfig() |
@ConfigItem(defaultValue="openapi") public String path
@ConfigItem public Optional<Path> storeSchemaDirectory
public Optional<SmallRyeOpenApiConfig.SecurityScheme> securityScheme
@ConfigItem(defaultValue="SecurityScheme") public String securitySchemeName
@ConfigItem(defaultValue="Authentication") public String securitySchemeDescription
@ConfigItem(defaultValue="basic") public String basicSecuritySchemeValue
@ConfigItem(defaultValue="bearer") public String jwtSecuritySchemeValue
@ConfigItem(defaultValue="JWT") public String jwtBearerFormat
@ConfigItem public Optional<String> oidcOpenIdConnectUrl
@ConfigItem public Optional<String> oauth2ImplicitRefreshUrl
@ConfigItem public Optional<String> oauth2ImplicitAuthorizationUrl
Copyright © 2021 JBoss by Red Hat. All rights reserved.