Commit Graph

93 Commits

Author SHA1 Message Date
vinhbachsy
5ea97a4278 Update README for response headers and examples 2016-10-18 21:46:35 +08:00
vinhbachsy
5cf376891a Validate response headers based on specified header
Add validate_headers step in response validator.
Using JSON::Validator with validate header value with swagger header 
object.
2016-10-18 21:46:35 +08:00
vinhbachsy
10dd37896f Support setting examples for response
Add helper method `response_examples` to inject response examples to swagger
2016-10-18 21:46:35 +08:00
richie
3506fee3d0 Prep for 1.0.3 release 2016-10-17 14:50:57 -07:00
richie
5df130922f Support x-nullable in respone_validator 2016-10-17 14:47:11 -07:00
richie
5a19cd2373 Push latest Gemfile.lock 2016-10-14 17:50:42 -07:00
richie
7025ec0063 Prep for v1.0.2 release 2016-10-14 17:48:16 -07:00
richie
23f4120fe3 Parse defined security requirements correctly 2016-10-14 17:44:27 -07:00
richie
312f68ae72 Rename ExampleHelpers.config - appeared to be conflicting in Rails 4+ 2016-10-14 09:55:55 -07:00
richie
63e0e53104 Merge branch 'path-item-parameters' 2016-10-13 18:17:30 -07:00
richie
4d675056c1 Support parameters provided at the 'path' level 2016-10-13 18:17:19 -07:00
richie
de09df59e1 Move path metadata into 'path_item' hash 2016-10-13 17:23:31 -07:00
richie
b81b2927be More useful error messages in rswag-specs 2016-10-13 16:56:44 -07:00
richie
f1850bc6d0 Ensure Gemfile.lock is up-to-date 2016-10-12 14:16:29 -07:00
richie
d193369d92 Prep for v1.0.1 release 2016-10-12 14:14:35 -07:00
richie
f8c882001c Add support for query parameters of type array 2016-10-12 14:10:01 -07:00
richie
edc7e7c036 Ensure swagger-ui files are included in rswag-ui.gemspec 2016-10-12 14:09:10 -07:00
domaindrivendev
69202bf212 Merge pull request #31 from benoittgt/fix_readme_ui_command
Change rails rswag UI command to last one in Readme
2016-10-12 09:30:30 -07:00
Benoit Tigeot
7333fb8993 Change rails rswag UI command to last one 2016-10-12 18:19:56 +02:00
richie
45263ab1ac Fix typo in deploy script 2016-10-11 23:49:38 -07:00
domaindrivendev
1fbce1348c Add travis-ci build status badge 2016-10-11 23:04:41 -07:00
richie
941b195f68 In .travis.yml, use Rails 3 version that's compatable with Ruby 2.2 2016-10-11 23:00:12 -07:00
richie
f0159a877d travis/ci: bundle update instead of install 2016-10-11 22:34:33 -07:00
richie
f8df35d338 More tweaks to travis/ci scripts 2016-10-11 22:31:29 -07:00
richie
b503e0c74b Remove local path from Gemfile 2016-10-11 22:09:56 -07:00
richie
02a15d131c Add travis.yml 2016-10-11 22:01:10 -07:00
richie
fa8d42b37b Tweak gemspecs and script to build gems 2016-10-11 21:55:13 -07:00
richie
02159f2136 Cleanup .gitignore files etc. 2016-10-11 18:53:53 -07:00
domaindrivendev
06d02fa364 Fix Readme typo 2016-10-11 18:40:11 -07:00
domaindrivendev
27494e319e Merge pull request #29 from domaindrivendev/rename-and-componentize
Rename and componentize
2016-10-11 18:33:43 -07:00
richie
c558098c39 rename to rswag plus major refactor - almost a rewrite 2016-10-11 18:31:12 -07:00
richie
f8d993356f Update Gemfile.lock 2016-09-12 22:34:04 -07:00
domaindrivendev
1150b9c030 Merge pull request #17 from drewish/param-refs
Support parameter references
2016-09-12 22:32:24 -07:00
domaindrivendev
654dc706e3 Merge pull request #14 from drewish/remove-built-gem
Remove built copy of gem
2016-09-12 22:22:31 -07:00
domaindrivendev
ec9a116ffb Merge pull request #13 from drewish/make-sprokets-optional
Don't assume sprockets is loaded
2016-09-12 22:22:15 -07:00
andrew morton
30e4e77df8 Support parameter references
Fixes #16
2016-09-12 14:29:40 -06:00
andrew morton
198257f510 Don't assume sprockets is loaded
Fixes #12
2016-09-11 20:00:30 -06:00
domaindrivendev
0309ff2166 Merge pull request #9 from dnswus/master
Fix deprecation warning
2016-09-11 13:02:58 -07:00
domaindrivendev
12cb8c48b8 Merge pull request #11 from drewish/patch-1
Quote the name in the Gemfile
2016-09-11 13:02:11 -07:00
andrew morton
ad5da838f2 Remove built copy of gem 2016-09-08 09:42:13 -06:00
andrew morton
d3d865d6aa Quote the name in the Gemfile
The gem name needs to be a string.
2016-09-07 15:33:48 -06:00
Dennis Wu
9be5a63db3
Fix deprecation warning for ActionDispatch::IntegrationTest HTTP request methods will accept only the following keyword arguments in future Rails versions. 2016-08-29 09:30:41 +08:00
domaindrivendev
5003b7ccd9 Merge pull request #10 from dnswus/spec-order
Keep resulting swagger.json consistent
2016-08-28 15:37:17 -07:00
Dennis Wu
2f2c010074
Keep the execution order of the specs so that the resulting swagger.json will be consistent. 2016-08-25 11:12:28 +08:00
domaindrivendev
2348f917cd Merge pull request #7 from dnswus/master
Allow all minor updates of Rails 5.0.
2016-08-23 09:28:28 -07:00
Dennis Wu
f2274cad78
Allow all minor updates of Rails 5.0. 2016-08-23 16:10:34 +08:00
richie
19beb9e34d minor reordering for readability 2016-08-19 15:22:33 -07:00
richie
4a025309aa Add gitkeep to ensure spec folder is present in fixtures 2016-08-19 15:20:31 -07:00
Garima Singh
ee3921fe05 Bumping up the version 2016-08-12 09:59:54 +08:00
Garima Singh
7f97e286a9 Adding more documentation to the dummy rails application 2016-08-12 09:16:44 +08:00