OpenApiDataTypeSchema
Assembly: ServiceStack.Api.OpenApi.dll
View Source
Declaration
[DataContract]
public abstract class OpenApiDataTypeSchema
Properties
Ref
View Source
Declaration
[DataMember(Name = "$ref")]
public string Ref { get; set; }
Description
View Source
Declaration
[DataMember(Name = "description")]
public string Description { get; set; }
Type
View Source
Declaration
[DataMember(Name = "type")]
public string Type { get; set; }
Format
View Source
Declaration
[DataMember(Name = "format")]
public string Format { get; set; }
Items
View Source
Declaration
[DataMember(Name = "items")]
public Dictionary<string, object> Items { get; set; }
CollectionFormat
View Source
Declaration
[DataMember(Name = "collectionFormat")]
public string CollectionFormat { get; set; }
Default
View Source
Declaration
[DataMember(Name = "default")]
public string Default { get; set; }
Maximum
View Source
Declaration
[DataMember(Name = "maximum")]
public double? Maximum { get; set; }
ExclusiveMaximum
View Source
Declaration
[DataMember(Name = "exclusiveMaximum")]
public bool? ExclusiveMaximum { get; set; }
Minimum
View Source
Declaration
[DataMember(Name = "minimum")]
public double? Minimum { get; set; }
ExclusiveMinimum
View Source
Declaration
[DataMember(Name = "exclusiveMinimum")]
public bool? ExclusiveMinimum { get; set; }
MaxLength
View Source
Declaration
[DataMember(Name = "maxLength")]
public int? MaxLength { get; set; }
MinLength
View Source
Declaration
[DataMember(Name = "minLength")]
public int? MinLength { get; set; }
Pattern
View Source
Declaration
[DataMember(Name = "pattern")]
public string Pattern { get; set; }
MaxItems
View Source
Declaration
[DataMember(Name = "maxItems")]
public int? MaxItems { get; set; }
MinItems
View Source
Declaration
[DataMember(Name = "minItems")]
public int? MinItems { get; set; }
UniqueItems
View Source
Declaration
[DataMember(Name = "uniqueItems")]
public bool? UniqueItems { get; set; }
MaxProperties
View Source
Declaration
[DataMember(Name = "maxProperties")]
public string MaxProperties { get; set; }
MinProperties
View Source
Declaration
[DataMember(Name = "minProperties")]
public string MinProperties { get; set; }
Required
View Source
Declaration
[DataMember(Name = "required")]
public bool? Required { get; set; }
Enum
View Source
Declaration
[DataMember(Name = "enum")]
public string[] Enum { get; set; }
MultipleOf
View Source
Declaration
[DataMember(Name = "multipleOf")]
public double? MultipleOf { get; set; }
Nullable
View Source
Declaration
[DataMember(Name = "x-nullable")]
public bool? Nullable { get; set; }