Skip to content

Commit

Permalink
[Ada] Fix #7569 by defining x-is-model-type when property is local to…
Browse files Browse the repository at this point in the history
… the YML file (#7655)

* Ada generator generates "=>" (correct syntax) instead of "->". Fixes #7450

* Updated the Ada petstore samples

* Committing "VERSION" file and the rest of the petstore samples

* Changed default project name and package name for Ada, not to have circular dependencies between gpr files.

* Ada code generator now adds x-is-model-type every time a model is defined locally in the YML file.

Fix #7569.
  • Loading branch information
michelealbano authored and wing328 committed Feb 22, 2018
1 parent b39c35c commit edf6be8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,8 @@ public Map<String, Object> postProcessModels(Map<String, Object> objs) {
if (!d.contains(item.datatype)) {
// LOGGER.info("Model " + m.name + " uses " + p.datatype);
d.add(item.datatype);
isModel = true;
}
isModel = true;
}
p.vendorExtensions.put("x-is-model-type", isModel);
}
Expand Down

0 comments on commit edf6be8

Please sign in to comment.