[Spring Boot] use port defined in spec file for server.port value (#3605)

* uncommented server.port property in application.mustache template and set it to serverPort value parsed from spec file

* update Petstore sample for Spring MVC and Boot
This commit is contained in:
Kevin Chabreck
2016-08-19 05:29:36 -04:00
committed by wing328
parent d7d351682f
commit 64e03422c0
27 changed files with 46 additions and 28 deletions

View File

@@ -1,3 +1,3 @@
springfox.documentation.swagger.v2.path=/api-docs
server.contextPath={{^contextPath}}/{{/contextPath}}{{#contextPath}}{{contextPath}}{{/contextPath}}
#server.port=8090
server.port={{serverPort}}