Class: Eazypi::Server
- Inherits:
-
Object
- Object
- Eazypi::Server
- Includes:
- SpecObject
- Defined in:
- lib/eazypi/server.rb
Overview
OpenAPI spec ServerObject
Instance Method Summary collapse
Methods included from SpecObject
Instance Method Details
#to_openapi_spec ⇒ Object
11 12 13 14 15 16 |
# File 'lib/eazypi/server.rb', line 11 def to_openapi_spec { "url" => url, "description" => description }.compact end |