Skip navigation links

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

A set of model interfaces to represent various security components of an OpenAPI app.

See: Description

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

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"))
 
Skip navigation links