-
@Target({}) @Retention(SOURCE) public @interface ApiEntityDefine a response entity.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringcontentTypeIf unset, the first Content-Type defined on the method will be used.java.lang.StringdescriptionDescription of the entity.java.lang.ClassentityClassSet the class of the DTO used for the entity.ApiExample[]examplesCustom examples for this entity.
-
-
-
-
examples
ApiExample[] examples
Custom examples for this entity. The examples will be included as is in the documentation without further checks.- Returns:
- the examples
- Default:
- {}
-
-