springfox-enum-plugin icon indicating copy to clipboard operation
springfox-enum-plugin copied to clipboard

datatype isn't picked up

Open vsk2017 opened this issue 6 years ago • 1 comments

Hi, I'm having difficulty in getting this working..

@ApiModelProperty(value = "Application specific error status  code",dataType="AppExceptionEnum")

Then I have annotated the enum description with @ApiEnum.

It doesn't pick up the enum descriptions in the swagger ui. Any help is appreciated.

vsk2017 avatar Aug 04 '19 12:08 vsk2017

But Springfox shows AppExceptionEnum as the property‘s type, right? I only know examples with fully qualified class names as dataType. Could you maybe show a more complete example of your source code? (Including package names, the full Property signature and the enum class?)

hoereth avatar Aug 04 '19 17:08 hoereth