forked from loafle/openapi-generator-original
Merge pull request #468 from cor3ntin/fix_base_path_upstream
Fix {{basePath}} value in support files.
This commit is contained in:
commit
07ff6a2278
@ -151,7 +151,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
|
||||
Map<String, Object> apis = new HashMap<String, Object>();
|
||||
apis.put("apis", allOperations);
|
||||
if(swagger.getBasePath() != null) {
|
||||
bundle.put("basePath", swagger.getBasePath());
|
||||
bundle.put("basePath", basePath);
|
||||
}
|
||||
bundle.put("apiInfo", apis);
|
||||
bundle.put("models", allModels);
|
||||
|
Loading…
x
Reference in New Issue
Block a user