Contributing Guidelines
January 28, 2026 ยท View on GitHub
PR Requirements
Every PR must include:
-
CHANGELOG.md entry - Add under
### X.X.X (Next)in the appropriate section:#### Fixes * [#123](https://github.com/ruby-grape/grape-swagger-entity/pull/123): Brief description - [@username](https://github.com/username). -
Passing CI - RuboCop + RSpec must pass
-
Tests - New functionality needs specs; bug fixes need regression tests
CHANGELOG Format
### 0.7.1 (Next)
#### Features
* Your contribution here.
#### Fixes
* [#PR](URL): Description - [@author](URL).
- Use
Featuresfor new functionality - Use
Fixesfor bug fixes and maintenance
Commit Messages
Follow conventional style:
Fix #123: descriptionfor bug fixesAdd feature descriptionfor featuresUpdate dependency/docsfor maintenance
Code Style
RuboCop enforces style. Key rules:
frozen_string_literal: truepragma required- Consistent hash indentation
- No trailing whitespace
bundle exec rubocop -a # Auto-fix most issues
Danger Checks
CI runs danger which enforces:
- CHANGELOG entry present
- Table of Contents in README is current
- PR has description