forked from loafle/openapi-generator-original
[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:
@@ -1,3 +1,3 @@
|
||||
springfox.documentation.swagger.v2.path=/api-docs
|
||||
server.contextPath={{^contextPath}}/{{/contextPath}}{{#contextPath}}{{contextPath}}{{/contextPath}}
|
||||
#server.port=8090
|
||||
server.port={{serverPort}}
|
||||
Reference in New Issue
Block a user