Open
Description
Description
The Java client base path includes the hostname (defaulting to localhost
), as well as the rest of the base path defined in the yaml. The only method to set the base path overwrites everything, so I can't set the host without overwriting the rest of the basePath which I want to keep.
Swagger-codegen version
2.4.0
Swagger declaration file content or url
basePath: /v2
Steps to reproduce
Online editor, Java client: https://editor.swagger.io/
Produces basePath of http://petstore.swagger.io/v2
with no method available to change the petstore.swagger.io
bit without also losing the v2
Metadata
Metadata
Assignees
Labels
No labels