示例#1
0
        static NJsonSchema.JsonReferenceResolver _Resolver(JSONSCHEMA schema, string basePath)
        {
            var generator = new NJsonSchema.Generation.JsonSchemaGeneratorSettings();

            var solver = new NJsonSchema.JsonSchemaAppender(schema, generator.TypeNameGenerator);

            return(new MyReferenceResolver(solver));
        }
示例#2
0
 public MyReferenceResolver(NJsonSchema.JsonSchemaAppender resolver) : base(resolver)
 {
 }