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.security |
A set of model interfaces to represent various security components of an OpenAPI app.
|
Modifier and Type | Method and Description |
---|---|
static OAuthFlows |
OASFactory.createOAuthFlows()
This method creates a new
OAuthFlows instance. |
Modifier and Type | Method and Description |
---|---|
default OAuthFlows |
OAuthFlows.authorizationCode(OAuthFlow authorizationCode)
OAuth Authorization Code flow; previously called accessCode in OpenAPI 2.0
|
default OAuthFlows |
OAuthFlows.clientCredentials(OAuthFlow clientCredentials)
OAuth Client Credential flow; previously called application in OpenAPI 2.0
|
OAuthFlows |
SecurityScheme.getFlows()
Flows is a REQUIRED property.
|
default OAuthFlows |
OAuthFlows.implicit(OAuthFlow implicit)
This method sets the implicit property of OAuthFlows instance to the given implicit argument and returns the
modified instance.
|
default OAuthFlows |
OAuthFlows.password(OAuthFlow password)
OAuth Resource Owner Password flow
|
Modifier and Type | Method and Description |
---|---|
default SecurityScheme |
SecurityScheme.flows(OAuthFlows flows)
Flows is a REQUIRED property.
|
void |
SecurityScheme.setFlows(OAuthFlows flows)
Flows is a REQUIRED property.
|
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.