lib/rspec/openapi/record.rb in rspec-openapi-0.7.1 vs lib/rspec/openapi/record.rb in rspec-openapi-0.7.2
- old
+ new
@@ -1,6 +1,6 @@
RSpec::OpenAPI::Record = Struct.new(
- :method, # @param [String] - "GET"
+ :http_method, # @param [String] - "GET"
:path, # @param [String] - "/v1/status/:id"
:path_params, # @param [Hash] - {:controller=>"v1/statuses", :action=>"create", :id=>"1"}
:query_params, # @param [Hash] - {:query=>"string"}
:request_params, # @param [Hash] - {:request=>"body"}
:request_content_type, # @param [String] - "application/json"