@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 |
---|---|
String |
description
Not used in 1.5.X, kept for legacy support.
|
String |
scope
The scope of the OAuth2 Authorization scheme to be used.
|
Copyright © 2019. All Rights Reserved.