Package springfox.documentation.builders
Class AuthorizationScopeBuilder
- java.lang.Object
-
- springfox.documentation.builders.AuthorizationScopeBuilder
-
public class AuthorizationScopeBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AuthorizationScopeBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationScope
build()
AuthorizationScopeBuilder
description(java.lang.String description)
Updates the description of the scopeAuthorizationScopeBuilder
scope(java.lang.String scope)
Updates the scope
-
-
-
Method Detail
-
scope
public AuthorizationScopeBuilder scope(java.lang.String scope)
Updates the scope- Parameters:
scope
- - scope for the authorization- Returns:
- this
-
description
public AuthorizationScopeBuilder description(java.lang.String description)
Updates the description of the scope- Parameters:
description
- - describes what this scope represents- Returns:
- this
-
build
public AuthorizationScope build()
-
-