2018-05-08 16:44:51 +08:00

19 lines
418 B
Ruby

=begin
OpenAPI Petstore
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
OpenAPI spec version: 1.0.0
Generated by: https://github.com/openapitools/openapi-generator.git
=end
class Pet < ApplicationRecord
validates_presence_of :name
validates_presence_of :photo_urls
serialize :photo_urls, Array
serialize :tags, Array
end