Skip to content

Commit

Permalink
Add instructions for minitest generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gobijan authored May 15, 2023
1 parent 8120184 commit bcfd2de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,12 @@ It should work with both classes inheriting from `ActionDispatch::IntegrationTes

Please note that not all features present in the rspec integration work with minitest (yet). For example, custom per test case metadata is not supported. A custom `description_builder` will not work either.

Run minitest with OPENAPI=1 to generate `doc/openapi.yaml` for your request specs.

```bash
$ OPENAPI=1 bundle exec rails t
```

## Links

Existing RSpec plugins which have OpenAPI integration:
Expand Down

0 comments on commit bcfd2de

Please sign in to comment.