class OasRails::Spec::Parameter

def in=(value)

def in=(value)
  @in = value
  @style = STYLE_DEFAULTS[@in.to_sym]
  @required = true if value == "path"
end

def initialize(specification)

def initialize(specification)
  @specification = specification
  @name = ""
  @in = ""
  @description = ""
  @required = false
  @style = ""
  @schema = { type: 'string' }
end

def oas_fields

def oas_fields
  [:name, :in, :description, :required, :schema, :style]
end

def required?

def required?
  @in == 'path'
end