Skip to content

What is this situation? Has anyone encountered this problem before #2994

Closed
@8502596

Description

@8502596

As the title suggests. I got the following error using the following code>

ruoyi-knife4j-springdoc

Image

I don't understand the logic behind it. After testing the springdoc openAPI 1.6.6, I found that this error occurs in versions 1.6.7 to 1.8.0. The key point of this problem seems to be this key class.

Image

Image

By comparing the upgrade from 1.6.6 to 1.6.7, this issue was discovered, but the code version of this class is 1.7.0 because the version of springdoc openAPI webmvc core called by knife is 1.7.0, while 1.8.0 handles these two key classes in a similar way.

I can open the swagger page normally by modifying my comments, but what I don't understand is why there is an error and which project needs to be modified, Ruoyi or Springdoc openAP
The following is a screenshot of my debugging breakpoint, which seems to be a conversion from DATE to Long type

Image

Without a doubt, both Ruoyi and Springdoc openAP I are excellent projects. I need to know why, and I would greatly appreciate any suggestions

By the way, can someone solve a small problem?

Image

                                                                                                                                           Translated through Baidu

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions