Skip to content

Commit bf51439

Browse files
committed
PoC - Generate OpenApi Spec from Sourcecode
1 parent bb92b9e commit bf51439

File tree

5 files changed

+12354
-0
lines changed

5 files changed

+12354
-0
lines changed

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ end
7373

7474
group :test do
7575
gem 'codeclimate-test-reporter', '>= 1.0.8', require: false
76+
gem 'factory_bot_rails', require: false
7677
gem 'machinist', '~> 1.0.6'
7778
gem 'mock_redis'
7879
gem 'parallel_tests'
@@ -84,6 +85,7 @@ group :test do
8485
gem 'rspec-its'
8586
gem 'rspec-rails', '~> 8.0.1'
8687
gem 'rspec-wait'
88+
gem 'rswag-specs'
8789
gem 'rubocop', '~> 1.79.1'
8890
gem 'rubocop-capybara'
8991
gem 'rubocop-factory_bot'

Gemfile.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@ GEM
147147
eventmachine (1.2.7)
148148
excon (1.2.7)
149149
logger
150+
factory_bot (6.5.4)
151+
activesupport (>= 6.1.0)
152+
factory_bot_rails (6.5.0)
153+
factory_bot (~> 6.5)
154+
railties (>= 6.1.0)
150155
faraday (0.17.6)
151156
multipart-post (>= 1.2, < 3)
152157
faraday-cookie_jar (0.0.7)
@@ -480,6 +485,11 @@ GEM
480485
activesupport (>= 3.0.0)
481486
mustache (~> 1.0, >= 0.99.4)
482487
rspec (~> 3.0)
488+
rswag-specs (2.16.0)
489+
activesupport (>= 5.2, < 8.1)
490+
json-schema (>= 2.2, < 6.0)
491+
railties (>= 5.2, < 8.1)
492+
rspec-core (>= 2.14)
483493
rubocop (1.79.1)
484494
json (~> 2.3)
485495
language_server-protocol (~> 3.17.0.2)
@@ -637,6 +647,7 @@ DEPENDENCIES
637647
debug (~> 1.11)
638648
digest-xxhash
639649
eventmachine (~> 1.2.7)
650+
factory_bot_rails
640651
fluent-logger
641652
fog-aliyun
642653
fog-aws
@@ -685,6 +696,7 @@ DEPENDENCIES
685696
rspec-rails (~> 8.0.1)
686697
rspec-wait
687698
rspec_api_documentation (>= 6.1.0)
699+
rswag-specs
688700
rubocop (~> 1.79.1)
689701
rubocop-capybara
690702
rubocop-factory_bot

0 commit comments

Comments
 (0)