Sha256: f9d76aa6a34ebb2943b6da88bb9a9e74642ceb7ac2989786fd3e6502852b7c64
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 KB
Contents
# frozen_string_literal: true RSpec::OpenAPI::Record = Struct.new( :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" :request_headers, # @param [Array] - [["header_key1", "header_value1"], ["header_key2", "header_value2"]] :summary, # @param [String] - "v1/statuses #show" :tags, # @param [Array] - ["Status"] :description, # @param [String] - "returns a status" :security, # @param [Array] - [{securityScheme1: []}] :status, # @param [Integer] - 200 :response_body, # @param [Object] - {"status" => "ok"} :response_headers, # @param [Array] - [["header_key1", "header_value1"], ["header_key2", "header_value2"]] :response_content_type, # @param [String] - "application/json" :response_content_disposition, # @param [String] - "inline" keyword_init: true, )
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rspec-openapi-0.8.1 | lib/rspec/openapi/record.rb |
rspec-openapi-0.8.0 | lib/rspec/openapi/record.rb |