class OasRails::Spec::Operation
def initialize(specification)
def initialize(specification) @specification = specification @summary = "" @operation_id = "" @tags = [] @description = @summary @parameters = [] @request_body = {} @responses = Spec::Responses.new(specification) @security = [] end
def oas_fields
def oas_fields [:tags, :summary, :description, :operation_id, :parameters, :request_body, :responses, :security] end