Skip to content

Commit

Permalink
fix NPE in rust server generator (OpenAPITools#5304)
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 authored and MikailBag committed Mar 23, 2020
1 parent f3e1706 commit cbaaad8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,7 @@ private void processParam(CodegenParameter param, CodegenOperation op) {
once(LOGGER).warn("4.3.0 has deprecated the use of vendor extensions which don't follow lower-kebab casing standards with x- prefix.");

// If a parameter uses UUIDs, we need to import the UUID package.
if (param.dataType.equals(uuidType)) {
if (uuidType.equals(param.dataType)) {
additionalProperties.put("apiUsesUuid", true);
}

Expand Down

0 comments on commit cbaaad8

Please sign in to comment.