Greg Myers
a46a5be3bb
Use presence on tags in travis
2019-11-02 16:55:21 +00:00
Greg Myers
ccce4d6360
Fix travis.yml
2019-11-02 16:11:42 +00:00
Greg Myers
663294b84b
Merge pull request #251 from BookOfGreg/improved-yaml-support
...
Improved yaml support
2019-11-02 16:09:50 +00:00
Greg Myers
889dd0922a
Merge branch 'master' into improved-yaml-support
2019-11-02 16:03:11 +00:00
Greg Myers
99281f96be
Merge pull request #252 from BookOfGreg/speedup-travis
...
Use a prebuilt ruby
2019-11-02 16:02:51 +00:00
Greg Myers
3dc0909a6a
Use specific directory. We dont bundle to vendor/bundle
2019-11-02 15:59:48 +00:00
Greg Myers
dad99930aa
trigger build
2019-11-02 15:56:08 +00:00
Greg Myers
c108a8367c
try conditional stages
2019-11-02 15:48:29 +00:00
Greg Myers
8d8fc11e55
correct ruby-version for travis
2019-11-02 15:35:51 +00:00
Greg Myers
8d04646341
Cache the correct directory
2019-11-02 15:09:21 +00:00
Greg Myers
f8fb73fb14
Use a prebuilt ruby
...
https://docs.travis-ci.com/user/reference/bionic/
Pre-installed Rubies: 2.3.8, 2.4.5, 2.5.3 and 2.6.3.
2019-11-02 15:03:45 +00:00
Greg Myers
4516ad4b78
Update changelog and tweak readme
2019-11-02 14:52:37 +00:00
Greg Myers
2d5da62bf1
CHANGELOG.md
2019-11-02 14:02:31 +00:00
Greg Myers
dc161fe275
Serve yaml files as yaml instead of converting them to json
2019-11-02 13:57:47 +00:00
Greg Myers
eeb1026691
Fix invalid Swagger in YAML values
...
The original fix failed because though the Keys were now strings, some
of the values for path variables were also symbols.
Psych does have a safe_load which has a whitelist of classes but it does
not have a safe_dump mode. We could have used deep_transform_values and
manually converted the classes we did not want, but why risk a buggy
implementation when JSON.generate works just fine?
2019-11-02 13:13:06 +00:00
Greg Myers
2c0f3c9396
Fix invalid Swagger in YAML
2019-11-02 12:58:36 +00:00
Greg Myers
acab437a7d
Add failing test showing Psych errors
2019-11-02 12:55:09 +00:00
Greg Myers
3ff1de5d65
Update changelog
2019-11-02 11:40:07 +00:00
Greg Myers
0e04635b15
Write the files using specified format
2019-11-02 11:19:01 +00:00
Greg Myers
73b84101cc
Adding yaml as option for generator
...
New installations will get :yaml as it's default with openapi 3 as the
version. Old installations will have the key missing and will default
to :json with an easy upgrade path.
2019-11-02 10:45:38 +00:00
Greg Myers
2cf6812ae0
Update README.md
2019-10-19 21:39:24 +01:00
Greg Myers
90d7fada85
Merge pull request #249 from BookOfGreg/fix/swagger-generator
...
Point the railtie to the correct file
2019-10-18 23:28:43 +01:00
Greg Myers
c14f72a45e
Point the railtie to the correct file
...
Fixes #248
2019-10-18 23:18:32 +01:00
Greg Myers
9722419647
Merge pull request #180 from fishpercolator/default_swaggerize
...
Add a 'rake rswag' that runs swaggerize as the default
2019-10-17 22:35:50 +01:00
Greg Myers
bf6bd59094
Merge pull request #247 from laurawatson/swaggerize-task
...
Update README
2019-10-17 18:28:37 +01:00
Laura Watson
ea2ed6ca49
Update README
2019-10-17 17:18:27 +01:00
Greg Myers
d12c018cb7
Merge pull request #246 from laurawatson/pr-template
...
PR & Issue templates
2019-10-17 16:54:22 +01:00
Greg Myers
d84a89510d
Merge pull request #190 from bclewis1/allow-yaml-parsing-in-rswag-api
...
Allow parsing of yml swagger files in rswag-api
2019-10-17 16:53:11 +01:00
Laura Watson
8d7385fcac
update copy
2019-10-17 16:22:12 +01:00
Laura Watson
a18d9e5163
update copy
2019-10-17 14:36:25 +01:00
Laura Watson
5b1dde772a
Update pr template
2019-10-17 14:27:07 +01:00
Laura Watson
29becf98f8
add issue templates
2019-10-17 14:16:46 +01:00
Laura Watson
1d5ed8345f
add a PR template
2019-10-17 13:37:36 +01:00
Laura Watson
71423cffb6
Merge branch 'master' of github.com:rswag/rswag
2019-10-17 13:34:54 +01:00
Greg Myers
0def9fad6f
Merge pull request #152 from DocSpring/fix_irb_context_warning
...
Call disable_monkey_patching! for RSpec configuration, to fix IRB context warning in Rails console
2019-10-17 10:47:59 +01:00
Nathan Broadbent
e5eb44191c
Use RSpec.describe to fix IRB context warning in Rails console
2019-10-17 16:40:31 +07:00
Greg Myers
28245d4dd0
Update README.md
2019-10-17 10:02:24 +01:00
Greg Myers
07c4c74d75
Update changelog
2019-10-17 00:02:09 +01:00
Greg Myers
b1e089af6a
Merge pull request #204 from stefanosx/patch-1
...
Update README.md
2019-10-16 23:45:53 +01:00
Greg Myers
47eb1e49ee
Merge pull request #245 from BookOfGreg/feature/spec_generator
...
Feature/spec generator
2019-10-16 23:30:08 +01:00
Greg Myers
4d29e09010
Add spec generator test
2019-10-16 23:19:24 +01:00
Greg Myers
189a7ef061
Move spec generator files, organize whitespace in generator output
2019-10-16 22:05:14 +01:00
Greg Myers
5ee880b769
Merge branch 'feature/request_spec_generator'
2019-10-16 21:12:51 +01:00
Greg Myers
778d250385
Split file join path
2019-10-16 21:12:36 +01:00
Greg Myers
dd2eaf2feb
Merge pull request #75 from paulccarey/feature/request_spec_generator
...
adds request spec generator (shamelessly stollen from rspec-rails-swagger)
2019-10-16 21:11:20 +01:00
Greg Myers
77d00407a4
whitespace linting
2019-10-16 20:51:53 +01:00
Greg Myers
8b61984fb3
Merge branch 'master' into feature/request_spec_generator
2019-10-16 20:44:11 +01:00
Greg Myers
3542cd0857
Add a Sprockets 4 manifest
...
Fix #243
2019-10-14 22:17:12 +01:00
Greg Myers
69edcd1be6
Merge branch 'master' into allow-yaml-parsing-in-rswag-api
2019-10-14 21:41:18 +01:00
Greg Myers
b41d4e1276
Merge pull request #240 from hdpuk86/update-swagger-ui-to-3.18.2
...
update swagger ui to 3.18.2
2019-10-08 23:54:14 +01:00