Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持代码生成swagger实体类支持spring doc方式 现在还是老spring fox方式 #910

Open
DreamPWJ opened this issue Mar 15, 2024 · 5 comments

Comments

@DreamPWJ
Copy link

DreamPWJ commented Mar 15, 2024

注解写死到代码里面了, 最好能动态配置
image

@DreamPWJ
Copy link
Author

DreamPWJ commented Mar 15, 2024

希望系统支持一下, spring boot3新框架不再支持spring fox了 @abel533

@abel533
Copy link
Owner

abel533 commented Mar 18, 2024

新的包名是什么?

@DreamPWJ
Copy link
Author

DreamPWJ commented Mar 18, 2024

io.swagger.v3.oas.annotations.media.Schema 这是新包名,都统一了,@apimodel 和ApiModelProperty 统一成@Schema了, 看看能不能做个兼容,有个开关可以生成新的规范, 辛苦了,新项目已经开始了,就差个配置了, 急需一个新版本或解决方案, 谢谢了 @abel533
image

@DreamPWJ
Copy link
Author

DreamPWJ commented Mar 20, 2024

@abel533 大佬,给看一下有解决方案? 或者我想用自动实现方式 如何根据数据库类型转成成java类型并且导入包

@DreamPWJ
Copy link
Author

DreamPWJ commented Mar 22, 2024

已经弃用了咱们项目的生成器,用freemark自定义实现了一套,更灵活

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants