knife4j icon indicating copy to clipboard operation
knife4j copied to clipboard

前端显示的一个bug

Open wtjperi2003 opened this issue 3 months ago • 0 comments

Describe the bug 枚举类。在字段上添加注解 @JsonValue.看图:

Image 枚举类作为某个类的字段使用。但是如果内嵌一层,title就不显示出来: Image 另外: 有没有办法,type返回的是int,因为被@JsonValue注解的是Integer类型,不是String

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Knife4j Version (please complete the following information):

Additional context Add any other context about the problem here.

wtjperi2003 avatar Sep 10 '25 00:09 wtjperi2003