OpenApiSchema
Assembly: ServiceStack.Api.OpenApi.dll
View Source
Declaration
[DataContract]
public class OpenApiSchema : OpenApiDataTypeSchema
Properties
Title
View Source
Declaration
[DataMember(Name = "title")]
public string Title { get; set; }
Discriminator
View Source
Declaration
[DataMember(Name = "discriminator")]
public string Discriminator { get; set; }
ReadOnly
View Source
Declaration
[DataMember(Name = "readOnly")]
public bool? ReadOnly { get; set; }
Xml
View Source
Declaration
[DataMember(Name = "xml")]
public OpenApiXmlObject Xml { get; set; }
ExternalDocs
View Source
Declaration
[DataMember(Name = "externalDocs")]
public OpenApiExternalDocumentation ExternalDocs { get; set; }
Example
View Source
Declaration
[DataMember(Name = "example")]
public string Example { get; set; }
Required
View Source
Declaration
[DataMember(Name = "required")]
public List<string> Required { get; set; }
AllOf
View Source
Declaration
[DataMember(Name = "allOf")]
public OpenApiSchema AllOf { get; set; }
Properties
View Source
Declaration
[DataMember(Name = "properties")]
public OrderedDictionary<string, OpenApiProperty> Properties { get; set; }
AdditionalProperties
View Source
Declaration
[DataMember(Name = "additionalProperties")]
public OpenApiProperty AdditionalProperties { get; set; }
Inherited Properties
CollectionFormat
View Source
Declaration
[DataMember(Name = "collectionFormat")]
public string CollectionFormat { get; set; }
Default
View Source
Declaration
[DataMember(Name = "default")]
public string Default { get; set; }
Description
View Source
Declaration
[DataMember(Name = "description")]
public string Description { get; set; }
Enum
View Source
Declaration
[DataMember(Name = "enum")]
public string[] Enum { get; set; }
ExclusiveMaximum
View Source
Declaration
[DataMember(Name = "exclusiveMaximum")]
public bool? ExclusiveMaximum { get; set; }
ExclusiveMinimum
View Source
Declaration
[DataMember(Name = "exclusiveMinimum")]
public bool? ExclusiveMinimum { 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; }
Maximum
View Source
Declaration
[DataMember(Name = "maximum")]
public double? Maximum { get; set; }
MaxItems
View Source
Declaration
[DataMember(Name = "maxItems")]
public int? MaxItems { get; set; }
MaxLength
View Source
Declaration
[DataMember(Name = "maxLength")]
public int? MaxLength { get; set; }
MaxProperties
View Source
Declaration
[DataMember(Name = "maxProperties")]
public string MaxProperties { get; set; }
Minimum
View Source
Declaration
[DataMember(Name = "minimum")]
public double? Minimum { get; set; }
MinItems
View Source
Declaration
[DataMember(Name = "minItems")]
public int? MinItems { get; set; }
MinLength
View Source
Declaration
[DataMember(Name = "minLength")]
public int? MinLength { get; set; }
MinProperties
View Source
Declaration
[DataMember(Name = "minProperties")]
public string MinProperties { 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; }
Pattern
View Source
Declaration
[DataMember(Name = "pattern")]
public string Pattern { get; set; }
Ref
View Source
Declaration
[DataMember(Name = "$ref")]
public string Ref { get; set; }
Required
View Source
Declaration
[DataMember(Name = "required")]
public bool? Required { get; set; }
Type
View Source
Declaration
[DataMember(Name = "type")]
public string Type { get; set; }
UniqueItems
View Source
Declaration
[DataMember(Name = "uniqueItems")]
public bool? UniqueItems { get; set; }