See: Description
| Interface | Description |
|---|---|
| OAuthFlow |
Configuration details for a supportde OAuthFlow
|
| OAuthFlows |
Configuration of the supported OAuthFlows
|
| SecurityRequirement |
SecurityRequirement
|
| SecurityScheme |
SecurityScheme
|
| Enum | Description |
|---|---|
| SecurityScheme.In |
In is a REQUIRED property that specifies the location of the API key.
|
| SecurityScheme.Type |
Type is a REQUIRED property that specifies the type of SecurityScheme instance.
|
The behaviour of methods inherited from java.lang.Object are undefined by the MicroProfile OpenAPI specification.
Example usage:
@Override
public OpenAPI buildModel() {
return OASFactory.createObject(OpenAPI.class)
.security(new ArrayList<SecurityRequirement>())
.addSecurityRequirement(OASFactory.createObject(SecurityRequirement.class)
.addScheme("airlinesRatingApp_auth"))