Skip to main content

OpenApiParameter

Assembly: ServiceStack.Api.OpenApi.dll
View Source
Declaration
[DataContract]
public class OpenApiParameter : OpenApiDataTypeSchema

Properties

Name

View Source
Declaration
[DataMember(Name = "name")]
public string Name { get; set; }

In

View Source
Declaration
[DataMember(Name = "in")]
public string In { get; set; }

Schema

View Source
Declaration
[DataMember(Name = "schema")]
public OpenApiSchema Schema { get; set; }

AllowEmptyValue

View Source
Declaration
[DataMember(Name = "allowEmptyValue")]
public bool? AllowEmptyValue { 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; }