Annotation Interface ApiParam


@Target({METHOD,PARAMETER}) @Retention(RUNTIME) @Documented public @interface ApiParam
请求参数注解
作者:
李振峰
  • 元素详细资料

    • name

      String name
      名称
      默认值:
      ""
    • description

      String description
      描述
      默认值:
      ""
    • required

      boolean required
      是否必须
      默认值:
      false
    • type

      String type
      数据类型[int,long,date,string,double]
      默认值:
      ""
    • format

      String format
      数据格式(一般用于日期)[yyyy-MM-dd HH:mm:ss]
      默认值:
      ""
    • defaultValue

      String defaultValue
      默认值
      默认值:
      "\n\t\t\n\t\t\n\ue000\ue001\ue002\n\t\t\t\t\n"
    • example

      String example
      示例
      默认值:
      ""