introducing rswag
This commit is contained in:
parent
f7f8774c43
commit
858eb06922
2 changed files with 17 additions and 0 deletions
2
Gemfile
2
Gemfile
|
@ -116,5 +116,7 @@ group :test do
|
||||||
gem 'simplecov-lcov', require: false
|
gem 'simplecov-lcov', require: false
|
||||||
# api
|
# api
|
||||||
gem 'apivore', require: false
|
gem 'apivore', require: false
|
||||||
|
gem 'rswag'
|
||||||
|
gem 'rswag-specs'
|
||||||
gem 'hashie', '~> 3.4.6', require: false # https://github.com/westfieldlabs/apivore/issues/114
|
gem 'hashie', '~> 3.4.6', require: false # https://github.com/westfieldlabs/apivore/issues/114
|
||||||
end
|
end
|
||||||
|
|
15
Gemfile.lock
15
Gemfile.lock
|
@ -433,6 +433,19 @@ GEM
|
||||||
rspec-rerun (1.1.0)
|
rspec-rerun (1.1.0)
|
||||||
rspec (~> 3.0)
|
rspec (~> 3.0)
|
||||||
rspec-support (3.11.0)
|
rspec-support (3.11.0)
|
||||||
|
rswag (2.6.0)
|
||||||
|
rswag-api (= 2.6.0)
|
||||||
|
rswag-specs (= 2.6.0)
|
||||||
|
rswag-ui (= 2.6.0)
|
||||||
|
rswag-api (2.6.0)
|
||||||
|
railties (>= 3.1, < 7.1)
|
||||||
|
rswag-specs (2.6.0)
|
||||||
|
activesupport (>= 3.1, < 7.1)
|
||||||
|
json-schema (~> 2.2)
|
||||||
|
railties (>= 3.1, < 7.1)
|
||||||
|
rswag-ui (2.6.0)
|
||||||
|
actionpack (>= 3.1, < 7.1)
|
||||||
|
railties (>= 3.1, < 7.1)
|
||||||
rubocop (1.30.0)
|
rubocop (1.30.0)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
parser (>= 3.1.0.0)
|
parser (>= 3.1.0.0)
|
||||||
|
@ -621,6 +634,8 @@ DEPENDENCIES
|
||||||
rspec-core
|
rspec-core
|
||||||
rspec-rails
|
rspec-rails
|
||||||
rspec-rerun
|
rspec-rerun
|
||||||
|
rswag
|
||||||
|
rswag-specs
|
||||||
rubocop
|
rubocop
|
||||||
rubocop-rails
|
rubocop-rails
|
||||||
rubocop-rspec
|
rubocop-rspec
|
||||||
|
|
Loading…
Reference in a new issue