Package org.eclipse.microprofile.openapi.models.security


@Version("2.0") @ProviderType package org.eclipse.microprofile.openapi.models.security
A set of model interfaces to represent various security components of an OpenAPI app.

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"))