@Test
public void testCustomSerialization_ignoredProperty() 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");
  assertTrue(schemas.path("SerializerTestBean").path("properties").path("bar").isMissingNode());
}