Exemple #1
0
 protected GeneratorServiceBase(RamlDocument raml, string targetNamespace)
 {
     this.raml              = raml;
     this.targetNamespace   = targetNamespace;
     apiObjectsCleaner      = new ApiObjectsCleaner(schemaRequestObjects, schemaResponseObjects, schemaObjects);
     uriParametersGenerator = new UriParametersGenerator(schemaObjects);
     ApplyResourceTypesAndTraits(raml.Resources);
     raml1TypesParser = new RamlTypeParser(raml.Types, schemaObjects, targetNamespace, enums, warnings);
 }
 protected GeneratorServiceBase(RamlDocument raml, string targetNamespace)
 {
     this.raml = raml;
     this.targetNamespace = targetNamespace;
     apiObjectsCleaner = new ApiObjectsCleaner(schemaRequestObjects, schemaResponseObjects, schemaObjects);
 }
		protected GeneratorServiceBase(RamlDocument raml)
		{
			this.raml = raml;
			apiObjectsCleaner = new ApiObjectsCleaner(schemaRequestObjects, schemaResponseObjects);
		}
 protected GeneratorServiceBase(RamlDocument raml, string targetNamespace)
 {
     this.raml            = raml;
     this.targetNamespace = targetNamespace;
     apiObjectsCleaner    = new ApiObjectsCleaner(schemaRequestObjects, schemaResponseObjects, schemaObjects);
 }