Skip to content

Commit 65e0086

Browse files
committed
Merge pull request #50 from swagger-api/develop
Merged from develop
2 parents 26ba5bc + ecca938 commit 65e0086

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

modules/swagger-compat-spec-parser/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<parent>
44
<groupId>io.swagger</groupId>
55
<artifactId>swagger-parser-project</artifactId>
6-
<version>1.0.6</version>
6+
<version>1.0.7</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010
<groupId>io.swagger</groupId>
1111
<artifactId>swagger-compat-spec-parser</artifactId>
12-
<version>1.0.6</version>
12+
<version>1.0.7</version>
1313
<packaging>jar</packaging>
1414
<name>swagger-compat-spec-parser</name>
1515
<dependencies>

modules/swagger-parser/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<parent>
44
<groupId>io.swagger</groupId>
55
<artifactId>swagger-parser-project</artifactId>
6-
<version>1.0.6</version>
6+
<version>1.0.7</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010
<groupId>io.swagger</groupId>
1111
<artifactId>swagger-parser</artifactId>
12-
<version>1.0.6</version>
12+
<version>1.0.7</version>
1313
<packaging>jar</packaging>
1414
<name>swagger-parser</name>
1515
<dependencies>

modules/swagger-parser/src/main/java/io/swagger/parser/util/RemoteUrl.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ public static String urlToString(String url, List<AuthorizationValue> auths) thr
9494
char c = (char)i;
9595
if(!Character.isISOControl(c))
9696
contents.append((char)i);
97+
if(c == '\n') {
98+
contents.append('\n');
99+
}
97100
}
98101

99102
in.close();

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<modelVersion>4.0.0</modelVersion>
99
<groupId>io.swagger</groupId>
1010
<artifactId>swagger-parser-project</artifactId>
11-
<version>1.0.6</version>
11+
<version>1.0.7</version>
1212
<packaging>pom</packaging>
1313
<name>swagger-parser-project</name>
1414
<developers>

0 commit comments

Comments
 (0)