0

I am looking for a way to configure my annotation driven swagger3.0 via environment variables.

What I want:

enter image description here

here i want to the title via env var. I know, env vars can be read by @Value or @ConfigurationProperties but I want to include the like title = @Value("$title") , which is configured within my application properties file.

Is there any alternative in achieving that?

FishingIsLife
  • 1,530
  • 2
  • 18
  • 40

0 Answers0