Skip to content

Commit

Permalink
[Java][Jersey/Native/okhttp] don't override x-implements (#12410)
Browse files Browse the repository at this point in the history
  • Loading branch information
borsch authored Jun 20, 2022
1 parent 995f7ce commit 1440a68
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -975,8 +975,6 @@ public ModelsMap postProcessModels(ModelsMap objs) {

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

if (cm.oneOf != null && !cm.oneOf.isEmpty() && cm.oneOf.contains("ModelNull")) {
// if oneOf contains "null" type
cm.isNullable = true;
Expand Down

0 comments on commit 1440a68

Please sign in to comment.