use of io.swagger.v3.jaxrs2.resources.MyOtherClass in project swagger-core by swagger-api.
the class ReaderTest method testMaintainPropertyNames.
@Test(description = "Maintain Property names per #2635")
public void testMaintainPropertyNames() {
final MyOtherClass myOtherClass = new MyOtherClass();
myOtherClass.populate("myPropertyName value");
Map<String, Schema> schemas = resolveJaxb(MyOtherClass.class);
assertNotNull(schemas.get("MyOtherClass").getProperties().get("MyPrOperTyName"));
}
Aggregations