Package org.forgerock.api.annotations
Annotation Interface Operation
The common details of an operation.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionA description of the operation.String[]
JSON references to previously declared errors (e.g.,frapi:common#/errors/badRequest
).ApiError[]
Operation specific error definitions.String[]
The list of supported locales for the operation.Parameters on operation paths and/or endpoints.The stability state for the operation.
-
Element Details
-
locales
String[] localesThe list of supported locales for the operation.- Default:
- {}
-
errors
ApiError[] errorsOperation specific error definitions. Use this when standard error descriptions are not specific enough.- Default:
- {}
-
errorRefs
String[] errorRefsJSON references to previously declared errors (e.g.,frapi:common#/errors/badRequest
).- See Also:
- Default:
- {}
-
parameters
Parameter[] parametersParameters on operation paths and/or endpoints.- Default:
- {}
-
stability
Stability stabilityThe stability state for the operation. Defaults toSTABLE
.- Default:
- STABLE
-
description
String descriptionA description of the operation.- Default:
- ""
-