Annotation Interface ApiSupport


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface ApiSupport

Help Java development engineers build powerful Swagger documents

This annotation belongs to the enhanced annotation of @Api, which is unique to Knife4j and provides Swagger's extended attributes.

从以下版本开始:
2.0.3
作者:
xiaoymin@foxmail.com 2020/03/31 12:26
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    author
    作者,提供数组形式以展示多个,会和author()进行合并展示
    int
    Sort Fields
  • 元素详细资料

    • order

      int order
      Sort Fields
      返回:
      排序
      默认值:
      2147483647
    • author

      String author
      author
      返回:
      开发者
      默认值:
      ""
    • authors

      String[] authors
      作者,提供数组形式以展示多个,会和author()进行合并展示

      issues: Gitee#I6SZMK

      返回:
      作者
      从以下版本开始:
      v4.2.0
      默认值:
      {}