lib/olaf/service_swagger.rb
# snake_case and camel_case implementations stolen from extlib 0.9.15
snake_case and camel_case implementations stolen from extlib 0.9.15
snake_case and camel_case implementations stolen from extlib 0 . 9 . 15
def swagger_type_convert(olaf_type_spec)
      @models ||= {}
      return "string" if olaf_type_spec.nil?  
      return "void" if olaf_type_spec.to_s.downcase == "none"  
      return "string" if olaf_type_spec == String
      return "int" if olaf_type_spec == Fixnum
      swagger_add_to_models olaf_type_spec
    end
def swagger_type_convert ( olaf_type_spec ) @models ||= { } return "string" if olaf_type_spec . nil? return "void" if olaf_type_spec . to_s . downcase == "none" return "string" if olaf_type_spec == String return "int" if olaf_type_spec == Fixnum swagger_add_to_models olaf_type_spec end
snake_case and camel_case implementations stolen from extlib 0.9.15
snake_case and camel_case implementations stolen from extlib 0 . 9 . 15
# What is "anything"? # :none
olaf_type_spec