public RestMethodParam(string name, string description, RestType type, RestRefSchema refSchema) { Name = name; Description = description; Type = type; RefSchema = refSchema; }
public RestProperty(string name, string format, string type, RestRefSchema refSchema, string description) { Name = name; Format = format; Type = new RestType(type); RefSchema = refSchema; Description = description; }
public RestParameter(string name, string description, string type, string format, string @default, RestRefSchema schemaRestRef) { Name = name; Description = description; Type = type ?? "object"; Format = format; Default = @default; SchemaRestRef = schemaRestRef; }
public RestResponse(string code, string description, RestRefSchema schemaRestRef) { Code = code; Description = description; SchemaRestRef = schemaRestRef; }