- Prepare dox for Rails 7.1 - Start using
#media_type
on request and response objects (removes following deprecation message):
DEPRECATION WARNING: Rails 7.1 will return Content-Type header without modification. If you want just the MIME type, please use `#media_type` instead.
- Added 'activesupport' as a runtime dependency
- Dropped 'rails' as a runtime dependency
- Added
Dox.config.title
- Added
Dox.config.header_description
- Added
Dox.config.version
- [BREAKING] The API description format changed from API-blueprint to OpenAPI.
- [BREAKING] Base structure is now defined in .json format
- [BREAKING] Output is written to a .json file
- [BREAKING] Html is rendered with Redoc instead of Aglio
- [BREAKING] Renamed
Dox.config.desc_folder_path
->Dox.config.descriptions_location
- [BREAKING] Removed
endpoint
method from document resource block - [DEPRECATED]
Dox.config.header_file_path
- Added 'activesupport' as a runtime dependency
- Dropped 'rails' as a runtime dependency
- Support Multipart payload with pretty formatting (based on
content-type
header)
- Explicit passing of an empty hash for
params
in actions now works as expected
- Full RSpec failure dump to stderr if any test fails when running tests with Dox::Formatter
- Support any payload format with pretty formatting for JSON and XML (based on
content-type
header)
- Ignore subdomain request header in headers output
- Set minimal Ruby version to 2.x
- Fixed parsing blank request body string
- Add Rake tasks for generating documentation to Readme
- Fix printing request body for test examples
- Guess path params for URI definition from example's request object
- Validate HTTP verbs specified in the descriptors' actions
- Document only examples whitelisted with
dox
tag - Added option for whitelisting additional HTTP headers for examples
- Show request HTTP verb and fullpath for each action request
- Dox executable
- Ignore body in query params (Rails 4 issue) for example request URL
- Pull request and response objects from example metadata
- Updated the dependencies
extend Dox::DSL::Syntax
instead ofinclude Dox::DSL::Syntax
in descriptors
- [BREAKING] Raise errors on missing required dox attributes in descriptors
- Fixed example identifier for examples with query params
- Created core classes and a DSL for manipulating the examples in specs
- Added usage to readme
- First release of the dox gem where the initial gem skeleton has been created