README.md in fitting-2.2.0 vs README.md in fitting-2.3.0
- old
+ new
@@ -1,7 +1,11 @@
# Fitting
+<a href="https://funbox.ru">
+ <img src="https://funbox.ru/badges/sponsored_by_funbox.svg" alt="Sponsored by FunBox" width=250 />
+</a>
+
[![Build Status](https://travis-ci.org/funbox/fitting.svg?branch=master)](https://travis-ci.org/funbox/fitting)
This gem will help you implement your API in strict accordance to the documentation in [API Blueprint](https://apiblueprint.org/) format.
To do this, when you run your RSpec tests on controllers, it automatically searches for the corresponding json-schemas in the documentation and then validates responses with them.
@@ -110,9 +114,12 @@
```ruby
expect(response).to strictly_match_schema
```
## Config
+
+You can specify the settings either in a yaml file `.fitting.yml` or in config.
+If your project uses several prefixes, for each one you need to create a separate yaml file in the folder `fitting` (`fitting/*.yml`).
### apib_path
Path to API Blueprint documentation. There must be an installed [drafter](https://github.com/apiaryio/drafter) to parse it.