forked from zipmark/rspec_api_documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Changes
Eric Oestrich edited this page Jun 24, 2013
·
25 revisions
- Remove assets, pull request
- Move writers into RspecApiDocumentation::Writers namespace
- Remove unknown class Examplegroup, pull request
- Fixed: If only the exclusion filter was set then it was ignored
- Better format of cURL headers, issue
- Generate nicer JSON, pull request
- Add deprecation notices for Wurl and notice for assets being removed in HTML output.
- Update cURL output for HEAD and PATCH
- Letting a header, example
- Serialize arrays and hashes properly, pull request
- Fix for do_request and extra parameters containing path params and query string params, pull request
- Fix curl output, pull request
- Add route and method to outputted JSON, pull request
- Allow nil params, pull request
- Add an empty space between multiple responses in combined text writer
- Writer for IODocs [thanks areina]
- Support multibyte descriptions [thanks mataki]
- Fix flipped request and response keys in template
- Combined text writer for Raddocs
- Added
api_name
configuration, which affects the HTML output. - Added
response_status
alias tostatus
if you have status as a variable in a spec - Removed passing headers into ClientBase, you set headers via the DSL
header "Accept", "application/json"
, see #36- If you are subclassing any client base and overriding the headers call, it now accepts a fourth parameter,
headers
, that are the headers based on the specs.
- If you are subclassing any client base and overriding the headers call, it now accepts a fourth parameter,
- url_prefix now has a leading
/
and no trailing/
- Added wURL - Thanks TildeWill
- Use the WurlWriter to try it out
- Split out DSL into multiple source files
- Update for latest rspec
- Bug fixes around requiring dependencies
- Remove Rack::Test hard dependency
- JSON keys in a request changed:
- method -> request_method
- route -> request_path
- TestClient became RackTestClient in removing Rack::Test
- OAuth2MACClient added, currently only supports client credentials
- last_response was hidden, use one of the following methods to access responses data
- response_headers
- status
- response_body
- helper methods added for asserting on callbacks
- request_method
- request_headers
- request_body