Variable

class Variable : ContentType

represents a variable, property, parameter and return value content type

  • identifier

    Declaration

    Swift

    var name: String
  • type of variable

    Declaration

    Swift

    var type: String
  • default value of variable

    Declaration

    Swift

    var defaultValue: String?
  • required as stated in open api document

    Declaration

    Swift

    var required: Bool
  • Undocumented

    Declaration

    Swift

    required init(from decoder: Decoder) throws