Swagger 将招摇过市消息外部化到属性文件

Swagger 将招摇过市消息外部化到属性文件,swagger,swagger-ui,Swagger,Swagger Ui,我正在使用ApacheCXFREST服务,并使用swagger来编写文档。基于环境的API更改的默认值(dev/qa/prod)。我想将默认值(在本例中为-5247710000779009)外部化到一个属性文件中,我已经基于env出于不同的目的维护了该文件 @ApiParam(value = "Customer information will be fetched by this account number", required = true, defaultValue = "5247710

我正在使用ApacheCXFREST服务,并使用swagger来编写文档。基于环境的API更改的默认值(dev/qa/prod)。我想将默认值(在本例中为-5247710000779009)外部化到一个属性文件中,我已经基于env出于不同的目的维护了该文件

@ApiParam(value = "Customer information will be fetched by this account number", required = true, defaultValue = "5247710000779009")
我怎样才能做到这一点