Package | Description |
---|---|
org.eclipse.microprofile.openapi |
A set of Java interfaces, annotations and programming models which allow Java developers to natively produce OpenAPI
v3 documents from their JAX-RS applications.
|
org.eclipse.microprofile.openapi.models |
A set of interfaces for programmable models and their helper classes, many derived from Swagger Core library.
|
org.eclipse.microprofile.openapi.models.security |
A set of model interfaces to represent various security components of an OpenAPI app.
|
Modifier and Type | Method and Description |
---|---|
static SecurityScheme |
OASFactory.createSecurityScheme()
This method creates a new
SecurityScheme instance. |
default SecurityScheme |
OASFilter.filterSecurityScheme(SecurityScheme securityScheme)
Allows filtering of a particular SecurityScheme.
|
Modifier and Type | Method and Description |
---|---|
default SecurityScheme |
OASFilter.filterSecurityScheme(SecurityScheme securityScheme)
Allows filtering of a particular SecurityScheme.
|
Modifier and Type | Method and Description |
---|---|
Map<String,SecurityScheme> |
Components.getSecuritySchemes()
Returns the securitySchemes property from a Components instance.
|
Modifier and Type | Method and Description |
---|---|
Components |
Components.addSecurityScheme(String key,
SecurityScheme securityScheme)
Adds the given security scheme to this Components' map of security schemes with the given string as its key.
|
Modifier and Type | Method and Description |
---|---|
default Components |
Components.securitySchemes(Map<String,SecurityScheme> securitySchemes)
Sets this Components' securitySchemes property to the given Map containing keys and reusable security scheme
objects.
|
void |
Components.setSecuritySchemes(Map<String,SecurityScheme> securitySchemes)
Sets this Components' securitySchemes property to the given Map containing keys and reusable security scheme
objects.
|
Modifier and Type | Method and Description |
---|---|
default SecurityScheme |
SecurityScheme.bearerFormat(String bearerFormat)
bearerFormat is intended as a hint to the client to identify how the bearer token is formatted.
|
default SecurityScheme |
SecurityScheme.description(String description)
A short description for security schema.
|
default SecurityScheme |
SecurityScheme.flows(OAuthFlows flows)
Flows is a REQUIRED property.
|
default SecurityScheme |
SecurityScheme.in(SecurityScheme.In in)
In is a REQUIRED property that indicates the location of the API key.
|
default SecurityScheme |
SecurityScheme.name(String name)
Name is a REQUIRED property - this is the name of the header, query or cookie parameter to be used.
|
default SecurityScheme |
SecurityScheme.openIdConnectUrl(String openIdConnectUrl)
penIdConnectUrl is a REQUIRED property.
|
default SecurityScheme |
SecurityScheme.scheme(String scheme)
Schema is a REQUIRED property that is the name of the HTTP Authorization scheme to be used in the Authorization
header as defined in RFC7235.
|
default SecurityScheme |
SecurityScheme.type(SecurityScheme.Type type)
Type is a REQUIRED property that specifies the type of SecurityScheme instance.
|
Copyright © 2017–2021 MicroProfile. All rights reserved.