コード例 #1
0
 public RestMethodParam(string name, string description, RestType type, RestRefSchema refSchema)
 {
     Name        = name;
     Description = description;
     Type        = type;
     RefSchema   = refSchema;
 }
コード例 #2
0
 public RestProperty(string name, string format, string type, RestRefSchema refSchema, string description)
 {
     Name        = name;
     Format      = format;
     Type        = new RestType(type);
     RefSchema   = refSchema;
     Description = description;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 public RestResponse(string code, string description, RestRefSchema schemaRestRef)
 {
     Code          = code;
     Description   = description;
     SchemaRestRef = schemaRestRef;
 }