Package | Description |
---|---|
org.eclipse.microprofile.openapi.models |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models.security |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
Modifier and Type | Method and Description |
---|---|
List<SecurityRequirement> |
Operation.getSecurity()
Returns the security property from an Operation instance.
|
List<SecurityRequirement> |
OpenAPI.getSecurity()
Returns the security property from an OpenAPI instance.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Operation.addSecurityRequirement(SecurityRequirement securityRequirement)
Adds the given security requirement item to this Operation's list of security mechanisms.
|
OpenAPI |
OpenAPI.addSecurityRequirement(SecurityRequirement securityRequirement)
Adds the given security requirement to this OpenAPI instance's list of security requirements.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Operation.security(List<SecurityRequirement> security)
Sets this Operation's security property to the given list.
|
OpenAPI |
OpenAPI.security(List<SecurityRequirement> security)
Sets this OpenAPI instance's security property to the given list.
|
void |
Operation.setSecurity(List<SecurityRequirement> security)
Sets this Operation's security property to the given list.
|
void |
OpenAPI.setSecurity(List<SecurityRequirement> security)
Sets this OpenAPI instance's security property to the given list.
|
Modifier and Type | Method and Description |
---|---|
SecurityRequirement |
SecurityRequirement.addScheme(String securitySchemeName)
Adds a security scheme to the SecurityRequirement instance based on the scheme name.
|
SecurityRequirement |
SecurityRequirement.addScheme(String securitySchemeName,
List<String> scopes)
Adds a security scheme to the SecurityRequirement instance based on the scheme name and
required scopes (optional) provided.
|
SecurityRequirement |
SecurityRequirement.addScheme(String securitySchemeName,
String scope)
Adds a security scheme to the SecurityRequirement instance based on the scheme name and
required scope (optional) provided.
|
Copyright © 2017–2018 Eclipse MicroProfile. All rights reserved.