-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow path-based config overrides #165
Conversation
…ed-config-overrides
config_file = File.join(File.dirname(path), RSpec::OpenAPI.config_filename) | ||
begin | ||
require config_file if File.exist?(config_file) | ||
rescue => e |
Check notice
Code scanning / Rubocop
Avoid rescuing without specifying an error class. Note
@@ -0,0 +1,2 @@ | |||
RSpec::OpenAPI.title = 'Override title' |
Check notice
Code scanning / Rubocop
Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default. Note documentation test
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #165 +/- ##
==========================================
- Coverage 96.88% 96.69% -0.19%
==========================================
Files 15 15
Lines 449 454 +5
Branches 96 97 +1
==========================================
+ Hits 435 439 +4
- Misses 14 15 +1 ☔ View full report in Codecov by Sentry. |
Based on #162 with some fixes