struct

Swagger::Property

Inherits Struct < Value < Object

Constructors

new(name : String, type : String = "string", format : String | Nil = nil, description : String | Nil = nil, default_value : String | Int32 | Int64 | Float64 | Bool | Nil = nil, example : String | Int32 | Int64 | Float64 | Bool | Nil = nil, required : Bool | Nil = nil)
Source

Instance methods

default_value
Source
default_value=(default_value : Bool | Float64 | Int32 | Int64 | String | Nil)
Source
description
Source
description=(description : Nil | String)
Source
example
Source
example=(example : Bool | Float64 | Int32 | Int64 | String | Nil)
Source
format
Source
format=(format : Nil | String)
Source
name
Source
name=(name : String)
Source
required
Source
required=(required : Bool | Nil)
Source
type
Source
type=(type : String)
Source