Commit Graph

465 Commits

Author SHA1 Message Date
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
andrew morton
4842055ee6 Add a contributing file
The exact sequence of commands to be able to run the tests wasn't obvious
to me so I'm assumiing others could use a hand.

I used the factory_girl_rails gem's file as a starting point.
2016-09-13 06:47:01 -06: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
Garima Singh
9c250cffe1 Extracting out APIMetadata from Formatter 2016-08-12 08:23:28 +08:00
Garima Singh
4c533caf68 Updating documentation for adding operation_description 2016-08-11 22:14:22 +08:00
Garima Singh
d7f02de0c2 Adding test for formatter#stop 2016-08-11 22:11:01 +08:00
Garima Singh
2fae4a0a30 Adding test for formatter
I have added database cleaner as for formatter spec it was trying to
use inbuild transactional fixture flag, which was failing as it
couldn't find any transaction to rollback. Hence switched to using
database_cleaner gem for using truncation as strategy
2016-08-11 14:45:53 +08:00
Garima Singh
1bd138b0fb Adding description (Implementation Notes) for HTTP operations 2016-08-10 10:29:31 +08:00
domaindrivendev
cd5ba67227 Merge pull request #4 from dima4p/master
Allow rails 5
2016-08-05 10:01:23 -07:00
Dmitri Koulikoff
1046d96906 Allow rails 5 2016-08-04 12:19:52 +02:00
richie
7c40f38c55 Serve ui directly from mount root 2016-07-15 15:32:32 -07:00
richie
f321207285 Ensure all swagger-ui assets get included in asset precompile 2016-07-15 10:26:48 -07:00
richie
f716c4f054 Serve static swagger-ui assets via vendor/assets 2016-07-13 18:30:47 -07:00
richie
cc90876dfa Handle trailing slashes when building discovery paths 2016-07-11 13:04:29 -07:00
richie
1068e6c7a6 Simplify build of discovery_paths in swagger_ui_controller 2016-06-29 17:04:03 -07:00
richie
7a01babe01 Support mount-specific swagger_root and add swagger_filter setting 2016-06-29 16:11:40 -07:00
richie
60f33a5386 Only load swaggerize task if rspec available 2016-05-23 08:47:46 -07:00
richie
9983261d4f Send Rails CSRF Token with swagger-ui requests 2016-05-18 22:53:01 -07:00
domaindrivendev
e10d8daa52 Update readme with correct swagger directory 2016-05-17 09:00:39 -07:00
richie
1b9f596c6f Prep for beta2 release 2016-05-13 00:10:14 -07:00
richie
9a327e84cf Honor basePath, output tags & other cleanup 2016-05-13 00:03:23 -07:00
richie
452917e0d9 Pusblish as beta version 2016-05-09 20:00:07 -07:00
domaindrivendev
2b4a940429 Rename gem from swagger-rails to swagger_rails 2016-04-25 23:34:19 -07:00
domaindrivendev
efab9b43a4 Require 'in' property for path params + rename Adapter to DSL 2016-04-25 23:32:33 -07:00
domaindrivendev
06ec343c89 More readme typo fixes 2016-04-15 10:13:38 -07:00
domaindrivendev
0a3c7abc51 Fix some readme typos 2016-04-15 10:08:21 -07:00
domaindrivendev
e31d0a5ae3 Update readme to reflect spec driven approach 2016-04-15 09:55:23 -07:00
domaindrivendev
0cf86cb5bf Add some comments to swagger_rails initializer 2016-04-06 17:19:54 -07:00
domaindrivendev
63861a3940 First iteration of rspec driven swagger 2016-04-06 09:19:41 -07:00
domaindrivendev
d579dab7d8 wip:swagger-based dsl for rspec 2016-03-09 16:58:38 -08:00
domaindrivendev
fc877b4047 Merge branch 'swagger_driven_tests' 2016-02-25 09:47:23 -08:00