Sha256: ccc6cc1794f4bb22faf28aaa1d18c0e210a4b4c2c4621d700612f5ed602f8fec
Contents?: true
Size: 457 Bytes
Versions: 15
Compression:
Stored size: 457 Bytes
Contents
# TODO: support servers # TODO: support reference module OpenAPIParser::Schemas class PathItem < Base include OpenAPIParser::ParameterValidatable openapi_attr_values :summary, :description openapi_attr_objects :get, :put, :post, :delete, :options, :head, :patch, :trace, Operation openapi_attr_list_object :parameters, Parameter, reference: true # @return [Operation] def operation(method) send(method) end end end
Version data entries
15 entries across 15 versions & 1 rubygems