Skip to content

Commit

Permalink
JERSEY2 option changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jimschubert committed May 15, 2020
1 parent 51a47cc commit c59d5ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ public Map<String, Object> postProcessModels(Map<String, Object> objs) {
CodegenModel cm = (CodegenModel) mo.get("model");

cm.getVendorExtensions().putIfAbsent("x-implements", new ArrayList<String>());
if (JERSEY2_EXPERIMENTAL.equals(getLibrary())) {
if (JERSEY2.equals(getLibrary())) {
cm.getVendorExtensions().put("x-implements", new ArrayList<String>());

if (cm.oneOf != null && !cm.oneOf.isEmpty() && cm.oneOf.contains("ModelNull")) {
Expand Down

0 comments on commit c59d5ac

Please sign in to comment.