我需要使用带有 Jakarta 包的 swagger codegen gradle 插件生成 spring 控制器源代码,但我在配置中看不到这样做的选项
我尝试使用以下选项来生成招摇代码:
additionalProperties = [
"errorOnUnknownEnum": true,
"dateLibrary": "java8",
"hideGenerationTimestamp": true,
"modelPackage": "com.delphix.api.gw.model${version}",
"apiPackage": "com.delphix.api.gw.api${version}",
"interfaceOnly": true,
"packageName": "api",
"useTags": true,
"useJakartaEe" : true,
"useSpringBoot3" : true,
"generateSupportingFiles" : false,
"java11" : true,
]
Run Code Online (Sandbox Code Playgroud)