Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test with any_value
  • Loading branch information
wing328 committed Apr 28, 2020
commit c2f5604333276da8015a36e6224fb7432c0463c0
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ public void testAnyType() {
Assert.assertEquals(cm1.getClassname(), "AnyValueModel");

final CodegenProperty property1 = cm1.vars.get(0);
Assert.assertEquals(property1.baseName, "any_type");
Assert.assertEquals(property1.baseName, "any_value");
Assert.assertEquals(property1.dataType, "oas_any_type_not_mapped");
Assert.assertTrue(property1.hasMore);
Assert.assertTrue(property1.required);
Expand Down Expand Up @@ -672,7 +672,7 @@ public void testAnyType() {
Assert.assertEquals(cm2.getClassname(), "AnyValueModelInline");

final CodegenProperty cp1 = cm1.vars.get(0);
Assert.assertEquals(cp1.baseName, "any_type");
Assert.assertEquals(cp1.baseName, "any_value");
Assert.assertEquals(cp1.dataType, "oas_any_type_not_mapped");
Assert.assertTrue(cp1.hasMore);
Assert.assertTrue(cp1.required);
Expand Down