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
domaindrivendev
9297120adb
Demo swagger-driven tests with minitest and rspec
2016-02-25 09:47:09 -08:00
domaindrivendev
9ad7a49e6d
assert response body based on spec examples
2016-02-25 09:47:09 -08:00
domaindrivendev
071239727a
rename & refactor example_builder
2016-02-25 09:47:09 -08:00
domaindrivendev
f9225a8a22
Basic functionality via minitest
2016-02-25 09:47:09 -08:00
domaindrivendev
007b82a9e4
Update README.md
2016-02-05 14:54:28 -08:00
domaindrivendev
4b40fb9efe
Support multiple swagger documents. Add custom_ui_generator. Update readme
2016-02-05 14:47:55 -08:00
domaindrivendev
df4b9c80c9
Serve Swagger docs via middleware
2016-02-03 23:41:31 -08:00
domaindrivendev
58691903fb
Add install generator and support Rails 3 or 4
2015-12-12 17:35:27 -08:00
domaindrivendev
ec2bda1e3d
Add install generator and support Rails 3 or 4
2015-12-10 18:24:35 -08:00
domaindrivendev
13b0fe83c5
Default docExpansion to list
2015-09-24 15:34:16 -07:00