@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface AuthorizationScope
Used to define an authorization scope that is used by an operation for a defined authorization scheme.
This annotation is not used directly and will not be parsed by Swagger. It should be used
within the Authorization
.
Authorization
,
ApiOperation
,
Api
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
description
Not used in 1.5.X, kept for legacy support.
|
java.lang.String |
scope
The scope of the OAuth2 Authorization scheme to be used.
|
Copyright © 2020 JBoss by Red Hat. All Rights Reserved.