Annotation Interface OpenAPIExtraSchema


With this annotation, you can specify one or more groups that this endpoint will be included in, as well as specify groups from which this endpoint should be excluded. Also, you can set specific endpoint extensions for each group
Since:
6.12.0
  • Element Details

    • value

      Class<?>[] value
      Returns:
      Schema classes to include in generated Open API.
      Default:
      {}
    • classes

      @AliasFor(member="value") Class<?>[] classes
      Returns:
      Schema classes to include in generated Open API.
      Default:
      {}
    • classNames

      @AliasFor(member="value") String[] classNames
      Returns:
      Schema classes to include in generated Open API.
      Default:
      {}
    • excludeClasses

      Class<?>[] excludeClasses
      Returns:
      Schema classes annotated by OpenAPIExtraSchema and should be excluded.
      Default:
      {}
    • excludeClassNames

      String[] excludeClassNames
      Returns:
      Schema classes annotated by OpenAPIExtraSchema and should be excluded.
      Default:
      {}
    • packages

      String[] packages
      Returns:
      packages with extra schemas should be included. NOTE: Currently you can't use wildcard to include subpackages. Need to set every package in list
      Default:
      {}
    • excludePackages

      String[] excludePackages
      Returns:
      packages with extra schemas should be excluded.
      Default:
      {}