class RspecApiDocs::Config

Used to control the behaviour of the gem.

Attributes

exclude_request_headers[RW]
exclude_response_headers[RW]
output_dir[RW]
renderer[RW]
validate_params[RW]

Public Class Methods

new() click to toggle source
# File lib/rspec_api_docs/config.rb, line 24
def initialize
  @output_dir = 'docs'
  @renderer = :json
  @validate_params = true
  @exclude_request_headers = []
  @exclude_response_headers = []
end