class YamlDocGenerator {

  String generateForProperty(String fieldName, Map<String, Object> subSchema) {
    return "| "
        + "`"
        + fieldName
        + "`"
        + " | "
        + emptyIfNull(getType(fieldName, subSchema))
        + " | "
        + emptyIfNull(getDescription(fieldName, subSchema))
        + " |";
  }

  public  YamlDocGenerator(Map<String, Object> schema);

}