Skip to content

Commit c304f81

Browse files
authored
Merge pull request #1137 from swagger-api/release-v1.0.45
prepare-release-v.1.045
2 parents a569be6 + a3eec33 commit c304f81

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ You can include this library from Sonatype OSS for SNAPSHOTS, or Maven central f
119119
<dependency>
120120
<groupId>io.swagger</groupId>
121121
<artifactId>swagger-parser</artifactId>
122-
<version>1.0.44</version>
122+
<version>1.0.45</version>
123123
</dependency>
124124

125125
```
@@ -129,7 +129,7 @@ To add swagger parsing support for older versions of swagger, add the `compat` m
129129
<dependency>
130130
<groupId>io.swagger</groupId>
131131
<artifactId>swagger-compat-spec-parser</artifactId>
132-
<version>1.0.44</version>
132+
<version>1.0.45</version>
133133
</dependency>
134134

135135
```

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.swagger</groupId>
66
<artifactId>swagger-parser-project</artifactId>
7-
<version>1.0.45-SNAPSHOT</version>
7+
<version>1.0.45</version>
88
<relativePath>../..</relativePath>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>

modules/swagger-parser/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.swagger</groupId>
66
<artifactId>swagger-parser-project</artifactId>
7-
<version>1.0.45-SNAPSHOT</version>
7+
<version>1.0.45</version>
88
<relativePath>../..</relativePath>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ public Model definition(ObjectNode node, String location, ParseResult result) {
912912
if(propertyNode.getNodeType().equals(JsonNodeType.OBJECT)) {
913913
ObjectNode on = (ObjectNode) propertyNode;
914914
Property property = property(on, location, result);
915-
if (property != null) {
915+
if(property != null) {
916916
if ("array".equals(property.getType()) && !(property instanceof ArrayProperty && ((ArrayProperty) property).getItems() != null)) {
917917
result.missing(location, "items");
918918
}

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<modelVersion>4.0.0</modelVersion>
1010
<groupId>io.swagger</groupId>
1111
<artifactId>swagger-parser-project</artifactId>
12-
<version>1.0.45-SNAPSHOT</version>
12+
<version>1.0.45</version>
1313
<packaging>pom</packaging>
1414
<name>swagger-parser-project</name>
1515
<developers>

0 commit comments

Comments
 (0)