-
@Target({}) @Retention(SOURCE) public @interface ApiHeaderDefine a response Header within aApiResponse.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringnameName of the header.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ApiAllowedValue[]allowedValuesDefine allowed value that is returned to the client.booleandeprecatedIf true, the header will be marked as deprecated.java.lang.StringdeprecatedDescriptionAdditional description that will be shown if the header is deprecated.java.lang.StringdescriptionDescription of the header.booleanoptionalIf true, the header will be marked as optional, else as mandatory.
-
-
-
-
allowedValues
ApiAllowedValue[] allowedValues
Define allowed value that is returned to the client.- Returns:
- the allowed value
- Default:
- {}
-
-