Package org.forgerock.api.annotations
Annotation Type Operation
- 
@Retention(RUNTIME) public @interface Operation
The common details of an operation. 
- 
- 
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdescriptionA description of the operation.String[]errorRefsJSON references to previously declared errors (e.g.,frapi:common#/errors/badRequest).ApiError[]errorsOperation specific error definitions.String[]localesThe list of supported locales for the operation.Parameter[]parametersParameters on operation paths and/or endpoints.StabilitystabilityThe stability state for the operation. 
 - 
 
- 
- 
Element Detail
- 
locales
String[] locales
The list of supported locales for the operation.- Default:
 - {}
 
 
 - 
 
- 
- 
errors
ApiError[] errors
Operation specific error definitions. Use this when standard error descriptions are not specific enough.- Default:
 - {}
 
 
 - 
 
- 
- 
errorRefs
String[] errorRefs
JSON references to previously declared errors (e.g.,frapi:common#/errors/badRequest).- See Also:
 CommonsApi.COMMONS_API_DESCRIPTION
- Default:
 - {}
 
 
 - 
 
- 
- 
parameters
Parameter[] parameters
Parameters on operation paths and/or endpoints.- Default:
 - {}
 
 
 - 
 
- 
- 
stability
Stability stability
The stability state for the operation. Defaults toSTABLE.- Default:
 - org.forgerock.api.enums.Stability.STABLE
 
 
 - 
 
- 
- 
description
String description
A description of the operation.- Default:
 - ""
 
 
 - 
 
 -