Skip to content

michaelmarriott/Json-Schema-Generator-ScriptCs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Json-Schema-Generator-ScriptCs

Creates a Json Schema of all Models implementing JsonObjectAttibute from Newtonsoft.Json package.

**Example: ** In MyTest.dll a file MyTest.cs contains the following:

  [JsonObject]
  public class MyModel {
     public int Id { get; set; }
  }

Execute scriptcs Generate.csx -- "MyTest/bin/MyTest.dll" "SchemaFolder"

##SetUp

Install and setup up scriptcs [SciptCs][http://scriptcs.net/]

Install Newtonsoft.Json scriptcs -install Newtonsoft.Json

##Executing

scriptcs Generate.csx -- "{path of dll}" "{destination folder}"

##Copyright and License

Licensed under the Apache License

About

A Json Schema Generator in ScriptCS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages