如何跳过从 modelsEnum 名称中删除公共前缀?我有一个带有单个值的枚举(将来我会有更多的值)并且swagger code gen插件使用枚举CODE而不是AIRPORT_CODE生成类
properties:
type:
enum: ["AIRPORT_CODE"]
description: the type of location that is identified by the value
如何跳过从 modelsEnum 名称中删除公共前缀?我有一个带有单个值的枚举(将来我会有更多的值)并且swagger code gen插件使用枚举CODE而不是AIRPORT_CODE生成类
properties:
type:
enum: ["AIRPORT_CODE"]
description: the type of location that is identified by the value