Please look at the next spec version: https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md <https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md>
The “servers” section will handle this. > On Jun 13, 2017, at 9:53 PM, Indunil Rathnayake <indunil....@gmail.com> wrote: > > What is the reason that neither host nor basePath support path templating? > It's common to have parameters in both host and in the basePath. > I am trying to generate REST API descriptions using > swagger(swagger2cxf-maven-plugin) by a yaml file. I need to parameterized the > basePath as an example basePath: /t/{tenant_domain}/api/abc/v0.9. > If we take work around for the basePath limitation with excessively long > paths, the API service names becomes not meaningful. > Is there any other way to achieve this? > > -- > You received this message because you are subscribed to the Google Groups > "Swagger" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to swagger-swaggersocket+unsubscr...@googlegroups.com > <mailto:swagger-swaggersocket+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.