@Target(value={METHOD,TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Repeatable(value=SecurityRequirements.class) @Inherited public @interface SecurityRequirement
Operation.security()
()} to define security requirements for the
single operation (when applied at method level) or for all operations of a class (when applied at class level).
It can also be used in OpenAPIDefinition.security()
to define spec level security.
public abstract String name
public abstract String[] scopes
Copyright © 2020. All rights reserved.