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

public @Interface LinkParameter

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

Represents a parameter to pass to an operation as specified with operationId or identified via operationRef.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the parameter's literal value or expression
expression
()

A constant or an expression to be evaluated and passed to the linked operation.

public String

Returns:

the parameter's name
name
()

The name of this link parameter.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

expressionback to summary
public String expression()

A constant or an expression to be evaluated and passed to the linked operation.

Returns:String

the parameter's literal value or expression

nameback to summary
public String name()

The name of this link parameter.

Returns:String

the parameter's name