File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
modules/swagger-codegen/src
main/java/io/swagger/codegen/v3/config
test/java/io/swagger/codegen/v3/service Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public class CodegenConfigurator implements Serializable {
87
87
88
88
private String gitUserId ="GIT_USER_ID" ;
89
89
private String gitRepoId ="GIT_REPO_ID" ;
90
- private String gitRepoBaseURL = "github" ;
90
+ private String gitRepoBaseURL = "https:// github.com " ;
91
91
private String releaseNote ="Minor update" ;
92
92
private String httpUserAgent ;
93
93
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public void testGeneratorService_readmeV3() throws IOException {
90
90
.outputDir (path )
91
91
.gitRepoId ("TestRepo" )
92
92
.gitUserId ("testuser" )
93
- .gitRepoBaseURL ("gitlab" )
93
+ .gitRepoBaseURL ("https:// gitlab.com " )
94
94
);
95
95
List <File > files = new GeneratorService ().generationRequest (request ).generate ();
96
96
Assert .assertFalse (files .isEmpty ());
@@ -127,7 +127,7 @@ public void testGeneratorService_readmeV3_NoOption() throws IOException {
127
127
for (File f : files ) {
128
128
String relPath = f .getAbsolutePath ().substring (path .length ());
129
129
if ("/SwaggerClient-php/README.md" .equals (relPath )) {
130
- Assert .assertTrue (FileUtils .readFileToString (f ).contains ("http ://github.com/testuser" ));
130
+ Assert .assertTrue (FileUtils .readFileToString (f ).contains ("https ://github.com/testuser" ));
131
131
}
132
132
}
133
133
}
You can’t perform that action at this time.
0 commit comments