mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 14:27:21 +00:00
39 lines
535 B
Markdown
39 lines
535 B
Markdown
# Contributing
|
|
|
|
Fork, then clone the repo:
|
|
|
|
```
|
|
git clone git@github.com:your-username/swagger_rails.git
|
|
cd swagger_rails
|
|
```
|
|
|
|
Set up your machine:
|
|
|
|
```
|
|
bundle
|
|
cd test-app
|
|
bundle exec rake db:setup
|
|
cd -
|
|
```
|
|
|
|
Initialize the rswag-ui repo with assets.
|
|
```
|
|
ci/build.sh
|
|
```
|
|
|
|
Make sure the tests pass:
|
|
|
|
```
|
|
bundle exec rspec
|
|
```
|
|
|
|
Make your change. Add tests for your change. Make the tests pass:
|
|
|
|
```
|
|
bundle exec rspec
|
|
```
|
|
|
|
Push to your fork and [submit a pull request][pr].
|
|
|
|
[pr]: https://github.com/domaindrivendev/swagger_rails/compare/
|