forked from loafle/openapi-generator-original
fixed index issue
This commit is contained in:
parent
05b0d8f1bf
commit
460e5befec
@ -171,7 +171,7 @@ public class JaxRSServerCodegen extends JavaClientCodegen implements CodegenConf
|
|||||||
String port = "8080";
|
String port = "8080";
|
||||||
if(host != null) {
|
if(host != null) {
|
||||||
String[] parts = host.split(":");
|
String[] parts = host.split(":");
|
||||||
if(parts.length > 0) {
|
if(parts.length > 1) {
|
||||||
port = parts[1];
|
port = parts[1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user