Annotation Type FeatureGate
THis annotation can be added to any endpoint and will check if the feature is on.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
feature
String feature- Returns:
- Name of the feature that is checked.
-
-
-
fallback
String fallback- Returns:
- Endpoint to be fall backed on if feature is off.
- Default:
- ""
-
snapshot
boolean snapshot- Returns:
- If true, feature will return the same value during the length of the request.
- Default:
- false
-