mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
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";
|
||||
if(host != null) {
|
||||
String[] parts = host.split(":");
|
||||
if(parts.length > 0) {
|
||||
if(parts.length > 1) {
|
||||
port = parts[1];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user