Skip to content
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

Merge rswag:master #8

Open
wants to merge 365 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
365 commits
Select commit Hold shift + click to select a range
4096084
https://github.com/rubyjs/mini_racer/issues/220#issuecomment-1010724771
jtannas Aug 28, 2022
fa11bcd
allow local dev versions to differ from docker
jtannas Aug 28, 2022
ffef8d8
Limit comments to 80 characters width
mkllnk Feb 8, 2022
6b93e74
Merge pull request #541 from jtannas/spellcheck-PRs
jtannas Aug 29, 2022
f6e5b17
Merge pull request #487 from mkllnk/patch-1
jtannas Aug 29, 2022
3c51623
update docker to latest Rails version
jtannas Aug 29, 2022
bb79a72
restore testing for EOL ruby & rails
jtannas Aug 29, 2022
64a3b48
Merge pull request #542 from rswag/drop-EOL-versions
jtannas Sep 9, 2022
e47631e
update ChangeLog to reflect contents of latest release
jtannas Sep 9, 2022
905142c
make the docker user non-root for easier volume sharing
jtannas Sep 9, 2022
468e2dd
update the changelog
jtannas Sep 9, 2022
a78a1ca
add appuser command to allowed words
jtannas Sep 9, 2022
4ad9068
add Makefile for helper commands
jtannas Sep 9, 2022
4f05d79
add test coverage tooling to code
jtannas Sep 10, 2022
82201d0
Merge pull request #549 from rswag/update-changelog-2.6.0
jtannas Sep 10, 2022
9f17fa2
Merge pull request #550 from rswag/limit-docker-permissions
jtannas Sep 10, 2022
54c66c5
add deprecation notices for EOL Ruby & RSpec
jtannas Sep 11, 2022
4fbad12
fix for ActiveSupport loading issue
jtannas Sep 11, 2022
6f53bf3
Update json-schema dependency
mustardnoise May 9, 2022
4e6afa2
Update CHANGELOG
mustardnoise Sep 11, 2022
8a7b6aa
Merge pull request #517 from mustardnoise/update-json-schema-dependency
jtannas Sep 11, 2022
106a75b
Fix Style/SingleArgumentDig rubocop issues in swagger_formatter
rnestler Feb 4, 2022
24dd450
Mention Style/SingleArgumentDig fix in CHANGELOG
rnestler Sep 11, 2022
16deca0
Merge pull request #486 from rnestler/fix-rubocup-issue
jtannas Sep 12, 2022
b337acf
getting oas servers node working in basic mode
developingchris Feb 9, 2021
5d7576d
variable replacements
developingchris Feb 10, 2021
c46d6ad
silly typo
developingchris Feb 12, 2021
99cf905
Updated to use the fetch call to allow for absence of variable set
developingchris Mar 30, 2021
18f36b7
Merge branch 'master' into deprecate-EOL-versions
jtannas Sep 17, 2022
b676bfa
Merge branch 'master' into add-simplecov-reporting
jtannas Sep 17, 2022
96ededd
make rspec-core dependency explicit
jtannas Sep 17, 2022
2264b03
Update base path configuration for OA3
romanblanco Sep 5, 2022
99e56ba
Merge pull request #547 from romanblanco/open-api-3-base-path
jtannas Sep 19, 2022
1844b1a
Merge branch 'master' into require-rspec-core
jtannas Sep 21, 2022
9f66973
Merge pull request #554 from rswag/require-rspec-core
jtannas Sep 21, 2022
0879182
Merge branch 'master' into add-simplecov-reporting
jtannas Sep 21, 2022
61c1354
Merge pull request #552 from rswag/deprecate-EOL-versions
jtannas Sep 21, 2022
27fa4e2
Merge pull request #551 from rswag/add-simplecov-reporting
jtannas Sep 21, 2022
8c43b5b
Merge branch 'rswag:master' into csp
Sep 26, 2022
b663a99
Remove allowance for remote swagger image
Sep 26, 2022
f0104c6
Update changelog
Sep 26, 2022
97c89d7
Merge pull request #263 from eric-hemasystems/csp
jtannas Sep 27, 2022
af77c4a
Docs: update spec file path
remy727 Sep 27, 2022
d52754e
Merge pull request #557 from remy727/docs/README
jtannas Sep 27, 2022
3cecf2e
Add ADDITIONAL_RSPEC_OPTS ENV var for rswag:specs:swaggerize
asavageiv Sep 24, 2022
0982cfe
Add ADDITIONAL_RSPEC_OPTS to README and CHANGELOG
asavageiv Sep 28, 2022
a7522ab
Merge pull request #556 from asavageiv/rspec-test-opts
jtannas Sep 28, 2022
f6641eb
chore: Update Url and QueryParam in cspell.json
Jason3S Sep 29, 2022
5a8c7fc
Merge pull request #560 from Jason3S/patch-1
jtannas Sep 29, 2022
0c760f9
I have no idea what Im doing
kriston-costa Mar 22, 2021
8399d50
Adding support for examples and tests
kriston-costa Mar 23, 2021
0ab2025
Add documentation for setting request example
romanblanco Oct 17, 2022
db47e8f
Merge pull request #555 from romanblanco/request-examples
jtannas Oct 17, 2022
35ec932
Merge pull request #443 for nullable headers support
lukecivantos Oct 18, 2022
d4a0e6e
Changelog update
lukecivantos Oct 18, 2022
00d6da6
Merge pull request #527 from lukecivantos/master
jtannas Oct 19, 2022
35d1f65
Fix parameters with schema reference
sergiopatricio Oct 20, 2022
a46424d
Merge pull request #564 from sergiopatricio/parameters-schema-ref
oblakeerickson Oct 24, 2022
a546690
Correct method name in README example
romanblanco Oct 25, 2022
ec12c83
Merge pull request #566 from romanblanco/request-examples-fix-readme
jtannas Oct 26, 2022
a50525d
Host header
amiuhle Jan 16, 2019
6422278
Add tests coverage for Hosts header setting
romanblanco Nov 4, 2022
f6227cb
Merge pull request #570 from romanblanco/host-header
jtannas Nov 4, 2022
d476d36
update changelog with v2.7.0 changes
jtannas Nov 6, 2022
7ced4a7
add notes for additions since 2.7.0
jtannas Nov 6, 2022
9b27d42
Security.md needed updates on every version; revise
jtannas Nov 8, 2022
318d1ca
add v2.8.0 changelist
jtannas Nov 8, 2022
2cc2285
remove swagger table due to incomplete info
jtannas Nov 16, 2022
2747808
Merge pull request #571 from rswag/Changelog-2.7.0-updates
jtannas Nov 16, 2022
fb60c42
Always add additional_rspec_opts
asavageiv Nov 15, 2022
721f610
CHANGELOG for ADDITIONAL_RSPEC_OPTS fix
asavageiv Nov 17, 2022
13e0471
Merge pull request #584 from asavageiv/alan/fix-rspec-test-opts
jtannas Nov 27, 2022
ee5f73e
Merge branch 'rswag:master' into add-enum-description-for-#201
masamichhhhi Dec 10, 2022
bf9f712
CHANGELOG for enum parameter description fix.
masamichhhhi Dec 10, 2022
f1fce1c
docs: Update template to ask for dependency versions
romanblanco Nov 8, 2022
bfe4103
Merge pull request #575 from romanblanco/ask-for-dep-version
jtannas Jan 9, 2023
1db45fc
cleanup: Remove commented code
romanblanco Nov 8, 2022
3071203
Merge pull request #576 from romanblanco/remove-commented-code
jtannas Jan 17, 2023
9fc001b
Fix RequestFactory gsub for base_path_from_servers
saturnflyer Jan 5, 2023
ca67da8
Update rely on regex global match
saturnflyer Mar 14, 2023
38e5f34
feat: make spec folder configurable
mohamed-karam Mar 15, 2023
bcc50eb
docs: configurable spec folder
mohamed-karam Mar 15, 2023
aa99641
Update CHANGELOG.md
saturnflyer Mar 18, 2023
e362292
Update test-app swagger_helper to use configured protocol value
saturnflyer Mar 18, 2023
b113f50
Update readme examples for configured protocol
saturnflyer Mar 18, 2023
6bc733a
Merge pull request #591 from SOFware/bug/request_factory_uri
romanblanco Mar 18, 2023
448009f
test: --spec_path option
mohamed-karam Mar 20, 2023
265045a
docs: update changelog
mohamed-karam Mar 20, 2023
b47d4f6
Update CHANGELOG.md
mohamed-karam Mar 20, 2023
154af48
Merge pull request #607 from mohamed-karam/feat/configure-spec-folder
romanblanco Mar 20, 2023
83d1bff
parameter[:getter] option
pechorin Mar 6, 2023
795d5e6
after review fixes
pechorin Mar 29, 2023
77759f0
Merge pull request #605 from rrebellion/parameter-getter
romanblanco Mar 31, 2023
d548cb1
Strict schema validation, closes #163
IlkhamGaysin Mar 5, 2023
c97cacf
Fix specs, add an intergational test case for test-app
IlkhamGaysin Mar 29, 2023
64ef801
Update README
IlkhamGaysin Mar 29, 2023
76711b1
pass `options` to `it` within `run_spec` (#1)
a-lavis Mar 31, 2023
972b19e
Update run_test! method docs
IlkhamGaysin Mar 31, 2023
ae8ba23
Update CHANGELOG.md
IlkhamGaysin Mar 31, 2023
68aaeb6
Merge pull request #604 from IlkhamGaysin/fix-164-issue
romanblanco Mar 31, 2023
9da6379
update readme section - Customizing the swagger-ui
yshmarov Apr 2, 2023
5d77db9
Merge pull request #618 from yshmarov/patch-1
romanblanco Apr 3, 2023
745d240
Add custom spec description option to `run_test!`
hashrocketeer Apr 8, 2023
fec067c
functional change + test
a-lavis Apr 19, 2023
38e9e81
update changelog
a-lavis Apr 19, 2023
87dd8f6
description as param instead of in options hash
a-lavis Apr 19, 2023
6e3d5c8
support passing multiple arguments to
a-lavis Apr 19, 2023
ef8a59f
docs: Add providing example into PR checklist
romanblanco Apr 19, 2023
bbd6fb0
clarify run_test! params
a-lavis Apr 20, 2023
fe2f9df
Merge pull request #1 from a-lavis/description_as_param
mattpolito Apr 20, 2023
bf425ad
Show run_test! custom description usage in test-app
hashrocketeer Apr 24, 2023
e6db7b4
2.9.0 release changes
romanblanco Apr 24, 2023
2a29636
Merge pull request #630 from romanblanco/changelog-2.9
romanblanco Apr 24, 2023
ca23785
Merge pull request #622 from hashrocket/add_custom_spec_description_t…
romanblanco Apr 25, 2023
8d984d7
Merge branch 'master' into pass_metadata_to_verb_methods
a-lavis Apr 27, 2023
9c6d885
add example to test-app
a-lavis Apr 29, 2023
0f478d8
Merge pull request #628 from a-lavis/pass_metadata_to_verb_methods
romanblanco Apr 30, 2023
eeb142e
docs: Correct CHANGELOG.md entry as unreleased
romanblanco Apr 30, 2023
78162e0
Merge pull request #633 from romanblanco/correct-changelog
romanblanco Apr 30, 2023
72fd8ac
Add rubocop alias config file
toydestroyer Apr 29, 2023
98ec59d
add rubocop to spellcheck ignore list
toydestroyer May 1, 2023
bdddcdf
Merge pull request #629 from romanblanco/test-app-pr-template
mattpolito May 1, 2023
17273d9
Merge pull request #632 from toydestroyer/rubocop-rspec-aliases
romanblanco May 2, 2023
8bf4217
Fix encoding of query params
NebojsaStrbac997 Apr 7, 2023
2da73e0
Fix datetime tests
NebojsaStrbac997 Apr 10, 2023
2920e5b
Refactor name to escape_name
NebojsaStrbac997 Apr 10, 2023
cdbc987
Add changes to CHANGELOG
NebojsaStrbac997 Apr 24, 2023
27e8035
Update readme
NebojsaStrbac997 Apr 24, 2023
0edbe25
Update README.md
NebojsaStrbac997 May 3, 2023
6c07c71
Merge pull request #621 from axiomq/master
romanblanco May 4, 2023
3eba53f
Add support for text/plain body format
Ksm125 May 19, 2023
01be813
Update CHANGELOG.md
Ksm125 May 19, 2023
6e439c3
Update request_factory_spec.rb
Ksm125 May 19, 2023
fe325cf
use build_raw_payload to build json payload
Ksm125 May 19, 2023
faede5e
Remove unused extra method
Ksm125 May 19, 2023
d5ea1fb
Merge remote-tracking branch 'upstream/master' into add-enum-descript…
masamichhhhi May 25, 2023
bedd1c3
change status as enum
masamichhhhi Jun 17, 2023
dca9df1
fix spec in test-app to generate enum description
masamichhhhi Jun 17, 2023
ea9dcd1
update readme to add enum description section
masamichhhhi Jun 17, 2023
fc353ef
Sanitize directory traversal in middleware
sergioisidoro Jun 30, 2023
e0b3863
Path traversal test
sergioisidoro Jun 30, 2023
efd4ea4
Use starts_with? and simplify file expansion
sergioisidoro Jul 6, 2023
4165da9
Merge pull request #654 from rswag/draft-fix-for-dir-traversal
romanblanco Jul 6, 2023
0a28fc3
2.10.0 release changes
romanblanco Jul 7, 2023
95efed0
Merge pull request #657 from romanblanco/changelog-2.10
romanblanco Jul 7, 2023
506bae1
Fix path expansion
carlobeltrame Jul 13, 2023
5b34ec9
Merge pull request #660 from carlobeltrame/patch-1
romanblanco Jul 13, 2023
000f398
docs: 2.10.1 release changes
romanblanco Jul 13, 2023
9c65fb8
Merge pull request #661 from romanblanco/changelog-2.10.1
romanblanco Jul 13, 2023
2716299
Fix middleware checking of swagger root
mkllnk Jul 24, 2023
05d3c0d
bump swagger-ui-dist to 5.2.0
gobijan Aug 1, 2023
c7a6d59
Merge pull request #668 from mkllnk/pathname
mattpolito Aug 18, 2023
e95fd15
Update dependencies to support Rails 7.1
xvega Oct 5, 2023
c2ade97
Merge branch 'rswag:master' into master
gobijan Oct 9, 2023
fe0dba1
Merge pull request #677 from xvega/update-rails-dependency
BookOfGreg Oct 11, 2023
0106774
Add #677 to changelog
BookOfGreg Oct 11, 2023
6d9558c
Update package.json
gobijan Oct 18, 2023
09f3104
Update package-lock.json
gobijan Oct 18, 2023
19ab33a
fix: add missing link to Content Security Policy
romanblanco Apr 3, 2023
5954ad0
Merge pull request #619 from romanblanco/correct-validation-indicator
romanblanco Oct 26, 2023
3ffb7ba
feat: warning about methods renaming
romanblanco Oct 29, 2023
f4285a1
Fix "it's vs its" typo
gabo-cs Nov 8, 2023
226f96b
Merge pull request #689 from gabo-cs/patch-1
romanblanco Nov 10, 2023
9e6d3fb
correct changelog
romanblanco Nov 10, 2023
ede0bd7
Merge pull request #690 from romanblanco/update-changelog
romanblanco Nov 10, 2023
ab97782
bump swagger-ui-dist to 5.9.4
gobijan Nov 13, 2023
eb435e0
Merge pull request #670 from gobijan/master
romanblanco Nov 13, 2023
b118340
Update rswag-specs dependency on json-schema
bagedevimo Jul 10, 2023
c1b95d5
Merge pull request #659 from bagedevimo/master
romanblanco Nov 13, 2023
8116eda
docs: Update CHANGELOG.md
romanblanco Nov 13, 2023
da38922
Merge pull request #695 from romanblanco/correct-changelog
romanblanco Nov 13, 2023
83afcda
Merge pull request #688 from romanblanco/rebranding_warning
romanblanco Nov 14, 2023
30ca2a8
Merge branch 'master' into HEAD
romanblanco Nov 14, 2023
8ea7518
chore: add more information about generating docs
alexcastrodev Nov 22, 2023
f93e6da
chore: add more information about generating docs
alexcastrodev Nov 22, 2023
07bc62f
docs: update changelog to release 2.12.0
romanblanco Nov 25, 2023
8514da3
Merge pull request #700 from romanblanco/release-2-12-0
romanblanco Nov 25, 2023
10818d1
chore: Fix rswag-specs deprecation warnings
hasghari Nov 25, 2023
d654380
docs: Update changelog
hasghari Nov 26, 2023
02668f5
chore: Add rswag-api deprecation warnings
hasghari Nov 28, 2023
afde4b7
docs: Update changelog
hasghari Nov 28, 2023
82f8462
Merge pull request #702 from hasghari/deprecations
romanblanco Nov 29, 2023
fb4329d
docs: update CHANGELOG.md
romanblanco Nov 29, 2023
7fe8db6
Merge pull request #705 from romanblanco/release-2-13-0
romanblanco Nov 29, 2023
f5f7e97
CI: Tell dependabot to update GH Actions
olleolleolle Nov 29, 2023
a62944d
Merge branch 'master' into master
alexcastrodev Nov 29, 2023
dbef567
chore: update readme with yml
alexcastrodev Nov 29, 2023
d5a689e
chore: update readme docs
alexcastrodev Nov 29, 2023
b3028e9
chore: add more information about generating docs
alexcastrodev Nov 30, 2023
8b28086
Merge pull request #698 from AlexcastroDev/master
romanblanco Nov 30, 2023
849b00e
Merge pull request #639 from Ksm125/Fix-Add-support-for-plain-text-bo…
romanblanco Dec 14, 2023
de35cc5
Add #707 to CHANGELOG.md
olleolleolle Dec 15, 2023
e98ae95
Merge pull request #707 from olleolleolle/patch-1
romanblanco Dec 15, 2023
47f3de3
Bump actions/cache from 2 to 3
dependabot[bot] Dec 15, 2023
7683f07
Bump actions/checkout from 2 to 4
dependabot[bot] Dec 15, 2023
7edb856
Merge branch 'master' into add-enum-description-for-#201
romanblanco Dec 16, 2023
9d51dc4
fix: corrected enum definition
romanblanco Dec 16, 2023
ecf9ace
Merge pull request #712 from rswag/dependabot/github_actions/actions/…
romanblanco Dec 16, 2023
25130f3
Merge pull request #711 from rswag/dependabot/github_actions/actions/…
romanblanco Dec 16, 2023
70d9e21
Bump streetsidesoftware/cspell-action from 2 to 5
dependabot[bot] Dec 16, 2023
174b2b4
Merge pull request #713 from rswag/dependabot/github_actions/streetsi…
romanblanco Dec 16, 2023
dbb54c2
Fix broken JSON-schema page link
Stevo-S Dec 19, 2023
6440ffb
Update CHANGELOG
Stevo-S Dec 19, 2023
1058fde
Merge pull request #715 from Stevo-S/fix-broken-link-to-json-schema-page
romanblanco Dec 19, 2023
d0ee3a1
Bump actions/cache from 3 to 4
dependabot[bot] Jan 22, 2024
b6f3e5f
Merge pull request #726 from rswag/dependabot/github_actions/actions/…
romanblanco Jan 24, 2024
d476981
fix: rubygems-update for github actions
JohnnyKei Feb 9, 2024
f77a8cb
Update .github/workflows/ruby.yml
JohnnyKei Feb 12, 2024
175b041
Merge pull request #730 from JohnnyKei/fix/ruby_workflow
romanblanco Feb 12, 2024
f1dccf8
fix: rubygems-update version for Docker
JohnnyKei Jan 19, 2024
f90c8af
chore: update Dockerfile
JohnnyKei Feb 2, 2024
bc58e30
Merge pull request #724 from JohnnyKei/fix/docker
romanblanco Feb 14, 2024
c88b936
chore: update readme file
vishaltps Feb 22, 2024
0cbb08c
rerun ci
masamichhhhi Mar 10, 2024
523a955
Deprecate openapi_strict_schema_validation and introduce two more opt…
IlkhamGaysin Dec 30, 2023
a140a41
Merge pull request #429 from masamichhhhi/add-enum-description-for-#201
romanblanco Jul 30, 2024
eb76a8a
Support Rails 7.2
zhuravel Aug 10, 2024
43b82aa
Fix deprecation warning in Rails 7.1+
zhuravel Aug 13, 2024
d965a5e
Change Rails version
zhuravel Aug 13, 2024
0c4d497
Keep improving that comment
zhuravel Aug 13, 2024
d1afc67
Merge pull request #765 from talkable/master
romanblanco Aug 13, 2024
dffc808
docs: update CHANGELOG.md
romanblanco Aug 13, 2024
680edce
Merge pull request #766 from romanblanco/release-2-14-0
romanblanco Aug 13, 2024
ecbe2ae
fix: Allow vendor-specific MIME types for JSON
hasghari Aug 13, 2024
6571ab0
docs: Update changelog
hasghari Aug 13, 2024
c0257a9
ci: Add rubygems to spellcheck config
hasghari Aug 14, 2024
7c55a6a
ci: Remove unnecessary mini_racer gem
hasghari Aug 15, 2024
be1c0d3
chore: loosen json-schema dependency again
bvogel Aug 26, 2024
6a25183
Merge pull request #769 from hasghari/vendor-json
romanblanco Sep 3, 2024
d0e490b
Merge branch 'master' into define-extra-options-for-properties
romanblanco Sep 3, 2024
8e51800
Merge pull request #775 from bvogel/chore/update-json-schema
romanblanco Sep 13, 2024
a2debd9
fix: adjust regex to match Media Types with JSON content
romanblanco Sep 13, 2024
4bb14c6
Merge pull request #732 from vishaltps/update-readme
romanblanco Sep 13, 2024
1982941
Merge pull request #781 from romanblanco/779
romanblanco Sep 16, 2024
b0a450f
fix: encode query params when use schema type
JohnnyKei Jan 19, 2024
85e032c
chore: update CHANGELOG.md
JohnnyKei Sep 18, 2024
0705197
Merge pull request #725 from JohnnyKei/fix/query_param_encoding
romanblanco Sep 19, 2024
7b34ffd
Merge branch 'master' into define-extra-options-for-properties
a-lavis Sep 23, 2024
b34522f
PR feedback
a-lavis Sep 23, 2024
7773c33
Merge pull request #783 from a-lavis/define-extra-options-for-properties
romanblanco Sep 24, 2024
6775d32
fix: Suppress deprecation warning when strict setting is not set
hasghari Sep 29, 2024
ecca183
Update changelog
hasghari Sep 29, 2024
f52f979
Merge pull request #785 from hasghari/fix-deprecation-warnings
romanblanco Oct 4, 2024
606e88b
docs: update CHANGELOG.md
romanblanco Oct 4, 2024
a616e6c
Merge pull request #788 from romanblanco/release-2-15-0
romanblanco Oct 4, 2024
bf259c4
ci: Add support for Rails 8
hasghari Nov 7, 2024
5233109
docs: Update CHANGELOG.md
hasghari Nov 9, 2024
181604c
Update .github/workflows/ruby.yml
romanblanco Nov 11, 2024
f581dcd
Merge pull request #797 from hasghari/rails-8
romanblanco Nov 11, 2024
4659911
docs: Update CHANGELOG.md
romanblanco Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Gemfile.lock
21 changes: 19 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
name: 🐛 Bug
about: File a bug/issue with Rswag that is not working
title: '[BUG] <title>'
labels: Bug, Needs Triage
assignees: ''
---

## Describe the bug
A clear and concise description of what the bug is.

Expand All @@ -13,5 +21,14 @@ If applicable, add screenshots to help explain your problem.
## Additional context
Add any other context about the problem here.

## Rswag Version
The version of rswag are you using.
## Dependency versions
The version of are you using for:
* Rswag:
* RSpec:
* Rails:
* Ruby:

## Relates to which version of OAS (OpenAPI Specification)
- [ ] OAS2
- [ ] OAS3
- [ ] OAS3.1
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
20 changes: 19 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
---
name: 🙏 Request
about: Request something from the community
title: '[REQUEST] <title>'
labels: Request, Needs Triage
assignees: ''
---

## Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.

## Describe the solution you'd like
A clear and concise description of what you want to happen.

## What support could we give you, so you could implement this yourself?
Please tell us how could we help you implement this feature, so you could
become a contributor. **Our time is limited, so it's unlikely that we will
be able to implement this ourselves, but we will try to help you**

## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

## Additional context
Add any other context or screenshots about the feature request here.
Add any other context or screenshots about the feature request here.

## Relates to which version of OAS (OpenAPI Specification)
- [ ] OAS2
- [ ] OAS3
- [ ] OAS3.1
15 changes: 0 additions & 15 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md

This file was deleted.

6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
26 changes: 26 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Problem
A clear and concise description of what the problem is.

## Solution
A clear and concise description of what the solution is.

### This concerns this parts of the OpenAPI Specification:
* [EXAMPLE_LINK TO RELEVANT OPEN API SPECS PAGE](https://spec.openapis.org/oas/v3.1.0#data-types)
* [ANOTHER LINK TO RELEVANT OPEN API SPECS PAGE](https://spec.openapis.org/oas/v3.1.0#schema)

### The changes I made are compatible with:
- [ ] OAS2
- [ ] OAS3
- [ ] OAS3.1

### Related Issues
Links to any related issues.

### Checklist
- [ ] Added tests
- [ ] Changelog updated
- [ ] Added documentation to README.md
- [ ] Added example of using the enhancement into [test-app](https://github.com/rswag/rswag/tree/master/test-app)

### Steps to Test or Reproduce
Outline the steps to test or reproduce the PR here.
19 changes: 19 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Number of days of inactivity before an issue becomes stale
# ToDo: reduce to 90 days once issue backlog is under control
daysUntilStale: 365
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 14
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. If the issue is
still relevant to you, please leave a comment stating so to keep the issue
from being closed. Thank you for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
78 changes: 78 additions & 0 deletions .github/workflows/deploy-rswag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Publish Rswag Gems

on:
workflow_dispatch:
inputs:
version:
description: "gem version to publish"
type: string
required: true

jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.3
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.4

- name: Publish rswag-api
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
cd rswag-api
gem build rswag-api.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.BOOKOFGREG_RUBYGEMS_API_KEY}}"
RUBYGEMS_VERSION: "${{github.event.inputs.version}}"

- name: Publish rswag-specs
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
cd rswag-specs
gem build rswag-specs.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.BOOKOFGREG_RUBYGEMS_API_KEY}}"
RUBYGEMS_VERSION: "${{github.event.inputs.version}}"

- name: Publish rswag-ui
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
cd rswag-ui
npm install
gem build rswag-ui.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.BOOKOFGREG_RUBYGEMS_API_KEY}}"
RUBYGEMS_VERSION: "${{github.event.inputs.version}}"

- name: Publish rswag
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
cd rswag
gem build rswag.gemspec
echo $RUBYGEMS_VERSION
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.BOOKOFGREG_RUBYGEMS_API_KEY}}"
RUBYGEMS_VERSION: "${{github.event.inputs.version}}"
68 changes: 63 additions & 5 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,71 @@ jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [2.6, 2.7, truffleruby-head]
rails: [5.2.4.4, 6.0.3.4]
# Ruby 2.6 became EOL on 2022-03-31; kept for information only
# Ruby 2.7 became EOL on 2023-03-31; kept for information only
# Ruby 3.0 became EOL on 2024-04-23; kept for information only
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3']

# Rails 5.2 became EOL on 2022-06-01; kept for information only
# Rails 6.0 became EOL on 2023-06-01; kept for information only
# Rails 6.1 became EOL on 2024-10-01; kept for information only
rails: ['5.2.8.1', '6.0.6.1', '6.1.7.8', '7.0.8.4', '7.1.3.4', '7.2.0', '8.0.0']

exclude:
# Excludes Rails 5.2 on Ruby 3.0+
# Excludes Rails 6.0 on Ruby 3.0+
# Excludes Rails 7.0 on Ruby 2.6
# Excludes Rails 7.1 on Ruby 2.6
# Excludes Rails 7.2 on Ruby 2.6, 2.7, 3.0
# Excludes Rails 8.0 on Ruby 2.6, 2.7, 3.0, 3.1
- rails: '5.2.8.1'
ruby: '3.0'
- rails: '5.2.8.1'
ruby: '3.1'
- rails: '5.2.8.1'
ruby: '3.2'
- rails: '5.2.8.1'
ruby: '3.3'
- rails: '6.0.6.1'
ruby: '3.0'
- rails: '6.0.6.1'
ruby: '3.1'
- rails: '6.0.6.1'
ruby: '3.2'
- rails: '6.0.6.1'
ruby: '3.3'
- rails: '7.0.8.4'
ruby: '2.6'
- rails: '7.1.3.4'
ruby: '2.6'
- rails: '7.2.0'
ruby: '2.6'
- rails: '7.2.0'
ruby: '2.7'
- rails: '7.2.0'
ruby: '3.0'
- rails: '8.0.0'
ruby: '2.6'
- rails: '8.0.0'
ruby: '2.7'
- rails: '8.0.0'
ruby: '3.0'
- rails: '8.0.0'
ruby: '3.1'
name: Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }}
env:
RAILS_VERSION: ${{ matrix.rails }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with: { ruby-version: 2.6 }
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- uses: actions/cache@v2
- uses: actions/cache@v4
id: cache
with:
path: |
Expand All @@ -31,6 +84,11 @@ jobs:

- name: Install dependencies
run: |
if [ $(cut -d '.' -f 1 <<< "${{ matrix.ruby }}") -lt 3 ]; then
gem update --system 3.4.22
else
gem update --system
fi
bundle install
cd rswag-ui && npm install

Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Spellchecking

on:
workflow_dispatch:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
spellchecking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: streetsidesoftware/cspell-action@v5
with:
config: "./cspell.json"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
Gemfile.lock
/.idea/
**/.byebug_history
**/coverage
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.2
2.7.6
Loading