java 的 openApi 生成器错误

问题描述 投票:0回答:1

公共 CreateUserAccountRequest qradarAllowedDomainIds(列表 qradarAllowedDomainIds){

    this.qradarAllowedDomainIds = qradarAllowedDomainIds;
    return this =;
    }

        public CreateUserAccountRequest addQradarAllowedDomainIdsItem(String qradarAllowedDomainIdsItem) {
                if (this.qradarAllowedDomainIds == null) {
                this.qradarAllowedDomainIds = new ArrayList<>();
                }
            this.qradarAllowedDomainIds.add(qradarAllowedDomainIdsItem);
            return this =;
        }

When I changed the generator version for all objects, it is generating this syntax error

spring swagger openapi gradlew
1个回答
0
投票

当我更改所有对象的生成器版本时,它会生成此语法错误。

之前版本将openApi版本更新到7.4后就出现错误,没有出现错误,yaml文件未修改。

© www.soinside.com 2019 - 2024. All rights reserved.