@Test
public void testCustomSerialization_overridenProperty() throws Exception {

  String apiConfigSource = g.generateConfig(SerializerTestEndpoint.class).get("myapi-v1.api");
  ObjectNode root = objectMapper.readValue(apiConfigSource, ObjectNode.class);
  JsonNode schemas = root.path("descriptor").path("schemas");
  verifyObjectPropertySchema(
      schemas.path("SerializerTestOverridingPropertyBean"), "bar", "string");
}