Package org.forgerock.api.annotations
Annotation Interface Handler
public @interface Handler
Details of a handler.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionboolean
Whether MVCC style requests are supported. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionService description, for documentation purposes.The service identifier.Parameters on service paths and/or endpoints.The schema for all the standard resource operations (CRUDPQ) on this endpoint.Service title, for documentation purposes.
-
Element Details
-
mvccSupported
boolean mvccSupportedWhether MVCC style requests are supported.
-
-
-
id
String idThe service identifier.
If a value is provided this indicates to the API Descriptor framework that you intend to reuse the same service definition multiple times, and that it should define the service globally and bind it to paths by reference instead of by value.
Example:"services": { "users:1.0": { "type": "collection", "resourceSchema": { "$ref": "#/definitions/user" }, ... } } "paths": { "/users": { "1.0": { "$ref": "#/services/users:1.0" }, } }
- Default:
- ""
-
resourceSchema
Schema resourceSchemaThe schema for all the standard resource operations (CRUDPQ) on this endpoint. Only required if one or more of those operations are supported.- Default:
- @org.forgerock.api.annotations.Schema
-
title
String titleService title, for documentation purposes.- Default:
- ""
-
description
String descriptionService description, for documentation purposes.- Default:
- ""
-
parameters
Parameter[] parametersParameters on service paths and/or endpoints.- Default:
- {}
-