glideapps/quicktype

Duplicate overloads in C# from multiple Schema top-levels

Open

#726 opened on 2018年4月1日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)TypeScript (10,867 stars) (968 forks)batch import
C#buggood first issue

説明

{
    "definitions": {
	"Foo": { "type": "number"},
	"Bar": { "type": "number"}
    }
}
./script/quickesttype --src-lang schema --lang csharp --add-schema-top-level /definitions/ /tmp/bla.schema 

Partial output:

    public static class Serialize
    {
        public static string ToJson(this double self) => JsonConvert.SerializeObject(self, QuickType.Converter.Settings);
        public static string ToJson(this double self) => JsonConvert.SerializeObject(self, QuickType.Converter.Settings);
    }

コントリビューターガイド

Duplicate overloads in C# from multiple Schema top-levels · glideapps/quicktype#726 | Good First Issue