Class: Eazypi::Tag
Overview
OpenAPI spec Tag
Instance Method Summary collapse
Methods included from SpecObject
Instance Method Details
#to_openapi_spec ⇒ Object
11 12 13 14 15 16 |
# File 'lib/eazypi/tag.rb', line 11 def to_openapi_spec { "name" => name, "description" => description }.compact end |