forked from loafle/openapi-generator-original
Merge pull request #2928 from catinred2/basePath
add basePathWithoutHost
This commit is contained in:
commit
cd0d9f55c2
@ -486,6 +486,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
|
|||||||
}
|
}
|
||||||
bundle.put("swagger", this.swagger);
|
bundle.put("swagger", this.swagger);
|
||||||
bundle.put("basePath", basePath);
|
bundle.put("basePath", basePath);
|
||||||
|
bundle.put("basePathWithoutHost",basePathWithoutHost);
|
||||||
bundle.put("scheme", scheme);
|
bundle.put("scheme", scheme);
|
||||||
bundle.put("contextPath", contextPath);
|
bundle.put("contextPath", contextPath);
|
||||||
bundle.put("apiInfo", apis);
|
bundle.put("apiInfo", apis);
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
{{#infoUrl}}<div class="app-desc">More information: <a href="{{{infoUrl}}}">{{{infoUrl}}}</a></div>{{/infoUrl}}
|
{{#infoUrl}}<div class="app-desc">More information: <a href="{{{infoUrl}}}">{{{infoUrl}}}</a></div>{{/infoUrl}}
|
||||||
{{#infoEmail}}<div class="app-desc">Contact Info: <a href="{{{infoEmail}}}">{{{infoEmail}}}</a></div>{{/infoEmail}}
|
{{#infoEmail}}<div class="app-desc">Contact Info: <a href="{{{infoEmail}}}">{{{infoEmail}}}</a></div>{{/infoEmail}}
|
||||||
{{#version}}<div class="app-desc">Version: {{{version}}}</div>{{/version}}
|
{{#version}}<div class="app-desc">Version: {{{version}}}</div>{{/version}}
|
||||||
|
{{#basePathWithoutHost}}<div class="app-desc">BasePath:{{basePathWithoutHost}}</div>{{/basePathWithoutHost}}
|
||||||
<div class="license-info">{{{licenseInfo}}}</div>
|
<div class="license-info">{{{licenseInfo}}}</div>
|
||||||
<div class="license-url">{{{licenseUrl}}}</div>
|
<div class="license-url">{{{licenseUrl}}}</div>
|
||||||
<h2>Access</h2>
|
<h2>Access</h2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user