use of io.swagger.v3.core.resolving.resources.TestObject3697 in project swagger-core by swagger-api.
the class Ticket3697Test method testHiddenJsonCreator.
@Test
public void testHiddenJsonCreator() throws Exception {
final ModelResolver modelResolver = new ModelResolver(mapper());
ModelConverterContextImpl context = new ModelConverterContextImpl(modelResolver);
Schema model = context.resolve(new AnnotatedType(TestObject3697.class));
SerializationMatchers.assertEqualsToYaml(context.getDefinedModels(), "TestObject3697:\n" + " type: object\n" + " properties:\n" + " id:\n" + " type: integer\n" + " format: int64");
}
Aggregations