struct Swagger::Server::Variable
- Swagger::Server::Variable
- Struct
- Value
- Object
Defined in:
swagger/server.crConstructors
Instance Method Summary
- #default_value : String
- #default_value=(default_value : String)
- #description : String?
- #description=(description : Nil | String)
- #enum_values : Array(String)?
- #enum_values=(enum_values : Nil | Array(String))
- #name : String
- #name=(name : String)
Constructor Detail
def self.new(name : String, default_value : String, enum_values : Array(String) | Nil = nil, description : String | Nil = nil)
#