File tree Expand file tree Collapse file tree
modules/openapi-generator/src/test/java/org/openapitools/codegen Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,10 +79,10 @@ public void testOpenAPINormalizerRefAsParentInAllOfAndRefactorAllOfWithPropertie
7979 // to test the both REF_AS_PARENT_IN_ALLOF and REFACTOR_ALLOF_WITH_PROPERTIES_ONLY
8080 OpenAPI openAPI = TestUtils .parseSpec ("src/test/resources/3_0/allOf_extension_parent.yaml" );
8181
82- Schema schema = openAPI .getComponents ().getSchemas ().get ("Child" );
82+ Schema <?> schema = openAPI .getComponents ().getSchemas ().get ("Child" );
8383 assertNull (schema .getExtensions ());
8484
85- Schema schema2 = openAPI .getComponents ().getSchemas ().get ("Ancestor" );
85+ Schema <?> schema2 = openAPI .getComponents ().getSchemas ().get ("Ancestor" );
8686 assertNull (schema2 .getExtensions ());
8787
8888 Map <String , String > options = new HashMap <>();
@@ -91,10 +91,10 @@ public void testOpenAPINormalizerRefAsParentInAllOfAndRefactorAllOfWithPropertie
9191 OpenAPINormalizer openAPINormalizer = new OpenAPINormalizer (openAPI , options );
9292 openAPINormalizer .normalize ();
9393
94- Schema schema3 = openAPI .getComponents ().getSchemas ().get ("Ancestor" );
94+ Schema <?> schema3 = openAPI .getComponents ().getSchemas ().get ("Ancestor" );
9595 assertEquals (schema3 .getExtensions ().get (X_PARENT ), true );
9696
97- Schema schema4 = openAPI .getComponents ().getSchemas ().get ("Child" );
97+ Schema <?> schema4 = openAPI .getComponents ().getSchemas ().get ("Child" );
9898 assertNull (schema4 .getExtensions ());
9999 }
100100
You can’t perform that action at this time.
0 commit comments