All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added option --spec_path to the generator command with requests as default value (rswag#607)
- Add support for
:getter
parameter option to explicitly define custom parameter getter method and avoid RSpec conflicts withinclude
matcher andstatus
method (rswag#605) - Added support strict schema validation and allow to pass metadata to run_test! (rswag#604)
- Remove commented code (rswag#576)
- Invalid URI error when specifying protocol within server configuration (rswag#591)
- Fix ADDITIONAL_RSPEC_OPTS to always apply (rswag#584)
- Ask for dependency versions in issue template (rswag#575)
- Add support for nullable & required on header parameters (rswag#527)
- Add option to set
Host
in header (rswag#570) - Add Support for Request body examples (rswag#555)
- Fix support for referenced parameter schema rswag#564)
- Correct method name in ReadMe (rswag#566)
- Add tooling for measuring test coverage so that changes are safer (rswag#551)
- Add CSP compatible with rswag in case the Rails one is not compatible (rswag#263)
- Add ADDITIONAL_RSPEC_OPTS env variable (rswag#556)
- Add option to set Host header (rswag#184)
- Change default dev tooling setup to Ruby 2.7 and Rails 6 (rswag#542)
- Make the development docker user non-root for easier volume sharing (rswag#550)
- Update
json-schema
dependency version constraint (rswag#517) - Add deprecation notice for intent to drop support for Ruby 2.6 and RSpec 2 (rswag#552)
- Fix request body examples (rswag#555)
- Corrected method name in README example (rswag#566)
- Fix Style/SingleArgumentDig issue in
swagger_formatter
(rswag#486) - Make dependency on rspec-core explicit instead of implied (rswag#554)
- Fix base path for OAS3 specification (rswag#547)
- Fix ResponseValidator adding support for nullable and required headers (rswag#527)
- Examples generated with
run_test!
now have the rspec tagrswag
- Add query parameter serialization styles (OAS3) (rswag#507)
- Support for adding descriptions in body params (rswag#422)
- Display all validation errors instead of only the first (rswag#461)
- Fixes examples for OAS3 specification, allowing multiple examples (rswag#501)
- Fix array parameter serialization on OAS3 (rswag#507)
- Fix assorted spelling errors (rswag#535)
- Fix null-checking when using a referenced property (rswag#515)
- Rename generated
rswag-ui.rb
file to match Ruby style (rswag#508) - Code comment formatting changes (rswag#487)
- Add Syntax Highlighting to ReadMe (https://github.com/rswag/rswag/pull/525/files)
- Fix ReadMe response headers example for OpenApi3.0 (rswag#518)
- Update TOC in the ReadMe (https://github.com/rswag/rswag/pull/536/files)
- Fix incorrect sample code for example generation (rswag#513)
- Fixed missing assets in rswag-ui #493
- Update swagger-ui to 3.52.5 #453
- Added specs print failed body #406
- Added ability to specify multiple params in short form #300
- REVERTS #300, help wanted! #407
- Added better messages for missing lets #441
- Added Rails 7.0 support #450
- Fixed allowed $refs in components #404
- Development - Replaces TheRubyRacer with mini_racer #442
- Development - Migrate to GH Action for tests #475
- Development - Test improvements#481
- Added
SWAGGER_DRY_RUN
env variable #274
- Include response examples #394
- Update swagger-ui to 3.42.0
- RequestBody now supports the
required
flag #342
- Remove require for byebug #295
- Support for OpenAPI 3.0 ! #286
- Custom headers in rswag-api #187
- Allow document: false rspec meta-tag #255
- Add parameterized pattern for spec files #254
- Support Basic Auth on rswag-ui #167
- Update swagger-ui version to 3.23.11 #239
- Rails constraint moved from < 6.1 to < 7 #253
- Swaggerize now outputs base RSpec text on completion to avoid silent failures #293
- Update swagger-ui version to 3.28.0
- New swagger_format config option for setting YAML output #251
- rswag-api will serve yaml files as yaml #251
- Fix incorrect require reference for swagger_generator #248
- New Spec Generator #75
- Support for Options and Trace verbs; You must use a framework that supports this, for Options Rails 6.1+ Rails 6 does not support Trace. #237
- Update swagger-ui to 3.18.2 #240
- Show response body when error code is not expected #117