private SchemaMapper createSchemaMapper() {
final RuleFactory ruleFactory = new RuleFactory();
ruleFactory.setAnnotator(new Jackson2Annotator() {
@Override
public boolean isAdditionalPropertiesSupported() {
return false;
}
});
ruleFactory.setGenerationConfig(config);
return new SchemaMapper(ruleFactory, new SchemaGenerator());
}
JsonModelGenerator.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:data-mapper
作者:
评论列表
文章目录