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.
- Tell Dependabot to update GitHub Actions (#707)
- Update README to fix broken link to the JSON-Schema website #715
- Added more details about config swagger format #698
- Add deprecation warnings for
Rswag::Api
configuration (#702)
- Fix deprecation warnings for
Rswag::Specs
configuration (#702)
- Relaxed the dependency on json-schema, allowing for updates including support for allPropertiesRequired and noPropertiesRequired options (#659)
- Add warning about methods renaming (#688)
- Bump "swagger-ui-dist" to "5.9.4" in rswag-ui (#670)
- Rails 7.1 support (#677)
- Fix path expansion (#660)
- Sanitize directory traversal in middleware (#654)
- Fix encoding of query params (#621)
- Fix support for string body params (#639)
- Allow passing metadata to HTTP verb methods (#628)
- Added configuration for RuboCop RSpec to improve detection of RSpec examples and example groups (#632)
- Added option --spec_path to the generator command with requests as default value (#607)
- Add support for
:getter
parameter option to explicitly define custom parameter getter method and avoid RSpec conflicts withinclude
matcher andstatus
method (#605) - Added support strict schema validation and allow to pass metadata to run_test! (#604)
- Add support for passing a custom specification description to
run_test!
(#622)
- Remove commented code (#576)
- Invalid URI error when specifying protocol within server configuration (#591)
- Fix ADDITIONAL_RSPEC_OPTS to always apply (#584)
- Ask for dependency versions in issue template (#575)
- Add support for nullable & required on header parameters (#527)
- Add option to set
Host
in header (#570) - Add Support for Request body examples (#555)
- Fix support for referenced parameter schema #564)
- Correct method name in ReadMe (#566)
- Add tooling for measuring test coverage so that changes are safer (#551)
- Add CSP compatible with rswag in case the Rails one is not compatible (#263)
- Add ADDITIONAL_RSPEC_OPTS env variable (#556)
- Add option to set Host header (#184)
- Change default dev tooling setup to Ruby 2.7 and Rails 6 (#542)
- Make the development docker user non-root for easier volume sharing (#550)
- Update
json-schema
dependency version constraint (#517) - Add deprecation notice for intent to drop support for Ruby 2.6 and RSpec 2 (#552)
- Fix request body examples (#555)
- Corrected method name in README example (#566)
- Fix Style/SingleArgumentDig issue in
swagger_formatter
(#486) - Make dependency on rspec-core explicit instead of implied (#554)
- Fix base path for OAS3 specification (#547)
- Fix ResponseValidator adding support for nullable and required headers (#527)
- Examples generated with
run_test!
now have the rspec tagrswag
- Add query parameter serialization styles (OAS3) (#507)
- Support for adding descriptions in body params (#422)
- Display all validation errors instead of only the first (#461)
- Fixes examples for OAS3 specification, allowing multiple examples (#501)
- Fix array parameter serialization on OAS3 (#507)
- Fix assorted spelling errors (#535)
- Fix null-checking when using a referenced property (#515)
- Add Syntax Highlighting to ReadMe (https://github.com/rswag/rswag/pull/525/files)
- Fix ReadMe response headers example for OpenApi3.0 (#518)
- Update TOC in the ReadMe (https://github.com/rswag/rswag/pull/536/files)
- Fix incorrect sample code for example generation (#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