Example #1
0
 public static NSwagSpecificationGeneratorSettings SetGitReference(this NSwagSpecificationGeneratorSettings settings, string gitReference)
 {
     settings.GitReference = gitReference;
     return(settings);
 }
 public NSwagSpecificationGenerator(NSwagSpecificationGeneratorSettings settings)
     : base(settings.OutputFolder)
 {
     _settings = settings;
 }
Example #3
0
 public static NSwagSpecificationGeneratorSettings SetPackageFolder(this NSwagSpecificationGeneratorSettings settings, string packageFolder)
 {
     settings.PackageFolder = packageFolder;
     return(settings);
 }
 public static void WriteSpecifications(NSwagSpecificationGeneratorSettings settings)
 {
     new NSwagSpecificationGenerator(settings).GenerateSpecifications();
 }