Skip to content

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

@DreamPWJ

Description

@DreamPWJ

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

Activity

DreamPWJ

DreamPWJ commented on Mar 15, 2024

@DreamPWJ
Author

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

abel533

abel533 commented on Mar 18, 2024

@abel533
Owner

新的包名是什么?

DreamPWJ

DreamPWJ commented on Mar 18, 2024

@DreamPWJ
Author

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

DreamPWJ

DreamPWJ commented on Mar 20, 2024

@DreamPWJ
Author

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

DreamPWJ

DreamPWJ commented on Mar 22, 2024

@DreamPWJ
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @abel533@DreamPWJ

        Issue actions

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