Skip to content

Commit 7647290

Browse files
committed
Update Changelog
1 parent 236c5f3 commit 7647290

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
- Breaking: Trailing slashes are no longer ignored in dynamic paths. See [#403](https://github.com/ahx/openapi_first/issues/403).
66
- Remove superflous `Test::Coverage.current_run, .plans, .install, .uninstall`
77
- Update dependency `openapi_paramters` to >= 0.7.0, because that version fixes unpacking exploded deepObject paramters
8-
- Add `OpenapiFirst.register`
8+
- Add support to register OADs globally via:
9+
```ruby
10+
OpenapiFirst.configure { |config| config.register('openapi.yaml') }
11+
```
12+
This removes the necessity to load the OAD in the same place where you use the middlewares and adds a cache for parsed OADs.
913
- Add `OpenapiFirst::Test::Configuration#ignore_unknown_response_status=`. When this is set to true, it won't complain about undefined response statuses it sees during a test run. Use with caution.
1014
- Failure type `:response_not_found` was split into two more specific types `:response_content_type_not_found` and `:response_status_not_found`. This should be mostly internal stuff.
1115

0 commit comments

Comments
 (0)