Top Description Methods
org.eclipse.microprofile.openapi.annotations.security

public @Interface OAuthScope

extends Annotation
Annotations
@Target
@Retention:RUNTIME
@Inherited
Imports
java.lang.annotation.Inherited, .Retention, .RetentionPolicy, .Target

Represents an OAuth scope.
See Also
OpenAPI Specification OAuth Flow Object

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the description of this scope
description
()

Short description of the scope.

public String

Returns:

the name of this scope
name
()

Name of the scope.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

descriptionback to summary
public String description()

Short description of the scope.

Returns:String

the description of this scope

nameback to summary
public String name()

Name of the scope.

Returns:String

the name of this scope