struct Swagger::Objects::Server::Variable
- Swagger::Objects::Server::Variable
- Struct
- Value
- Object
Overview
ServerVariable Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#serverVariableObject
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/server.crConstructors
- .new(pull : JSON::PullParser)
- .new(default_value : String, enum_values : Array(String) | Nil = nil, description : String | Nil = nil)
Instance Method Summary
Constructor Detail
def self.new(default_value : String, enum_values : Array(String) | Nil = nil, description : String | Nil = nil)
#