Skip to content

Commit

Permalink
Merge pull request #236 from swagger-api/prepare-release-1.0.15
Browse files Browse the repository at this point in the history
prepare release 1.0.15
  • Loading branch information
frantuma authored May 29, 2018
2 parents d3778a3 + 8bcdae8 commit c39dc64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<artifactId>swagger-inflector</artifactId>
<packaging>jar</packaging>
<name>swagger-inflector</name>
<version>1.0.14</version>
<version>1.0.15</version>
<url>https://github.com/swagger-api/swagger-inflector</url>
<scm>
<connection>scm:git:[email protected]:swagger-api/swagger-inflector.git</connection>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,9 @@ else if(model instanceof ModelImpl) {
if(impl.getProperties() != null) {
for(String key : impl.getProperties().keySet()) {
Property property = impl.getProperties().get(key);
if(property instanceof ObjectProperty)
if(property instanceof ObjectProperty) {
property.setName(StringUtils.capitalize(key));
}
Example propExample = fromProperty(property, definitions, processedModels);
ex.put(key, propExample);
}
Expand Down

0 comments on commit c39dc64

Please sign in to comment.