title: How to provide texts to swagger in a properties file for spring restful service?
body: <p>I am creating my spring restful service documentation with swagger.</p>
  
  <p>Sample request handler method and its documantation below. It works:</p>
  
  <pre><code>@ApiOperation(value = "Returns user details", notes = "Returns a complete list of users details with a date of last modification.", response = User.class)
  public Response getUser(@ApiParam(name = "userName", value = "Alphanumeric login to the application", required = true) @PathParam("userName") String userName) {
  ...
  }
  </code></pre>
  
  <p>But I want to provide text of the request handler methods into swagger annotations from a properties file (It is being done to not increase the class size with documentation text).<br/> 
  Therefore I have created a properties file called "application-swagger.properties" and enabled it in "application.properties" (spring.profiles.active=swagger).
  When I create api documentation as below, Text is not being displayed.</p>
  
  <pre><code> application-swagger.properties:
   value=Returns user details
   notes=Returns a complete list of users details with a date of last modification.
  </code></pre>
  
  <p>Controller class:</p>
  
  <pre><code>@Controller
  @Profile("swagger")
  public class UserController{
      .
      .
      @ApiOperation(value = "${value}", notes = ${notes}", response = User.class)
      public Response getUser(@ApiParam(name = "userName", value = "Alphanumeric login to the application", required = true) @PathParam("userName") String userName) {
      ...
      }
      .
      .
  }
  </code></pre>
  
  <p>Is there a way of putting text to swagger annotation from a properties file? Thanks for your help.</p>