Commit Graph

202 Commits

Author SHA1 Message Date
Jay Danielian
4baf5efd11 Updates specs to add 3.0 compliant structure and tests around the new schema/structure 2019-07-20 12:29:44 -04:00
Jay Danielian
04564d933f Fixes example group helpers spec with new 3.0 format 2019-07-18 22:19:10 -04:00
Jay Danielian
aa59c5ff91 Fixes response validators specs for v3 structure 2019-07-18 22:01:00 -04:00
Jay Danielian
659b328eda Fixes spec for #stop writing swagger docs 2019-07-17 20:35:56 -04:00
Jay Danielian
5e71651d6d Adds auth_tests_spec and validated that it is generating valid 3.0 security related swagger 2019-07-17 20:18:12 -04:00
Jay Danielian
28bcc121ba formatting 2019-07-17 20:10:10 -04:00
Jay Danielian
aa133b90fc Adds request_body_multipart method which enables schema properties to be written for multipart upload body
Will inspect the provided hash and add the property file_name to the parameters collection so upload and 3.0 output will work properly
2019-07-17 20:07:30 -04:00
Jay Danielian
c820bb75e0 Modifies parameters and body request/responses to output 3.0 syntax for basic operations.
SwaggerEditor passes basic output
2019-07-14 17:28:11 -04:00
Jay Danielian
23349b2678 Adds byebug_history file in gitignore 2019-07-14 14:26:50 -04:00
Jay Danielian
fd061a2a7f Removes byebug history 2019-07-14 14:26:16 -04:00
Jay Danielian
0093efd4bf Adds rswag to test and development so rake tasks work
Adds to swagger_Formatter to remove injected body parameters since those are 2.0 and ont 3.0 compliant

Adds to example_group_helpers to only automatically save request examples in the swagger output on 2xx response, since otherwise it was getting clobbered
2019-07-07 22:57:55 -04:00
Jay Danielian
297cc447c8 Gets v3 request example saving as well as response example saving
Adds rubocop to the gemset

adds guard to the gemset for testing
2019-07-05 15:59:47 -04:00
Jay Danielian
5d7fc44af4 Updates docs to include setting up rswag-ui assets first time locally 2019-06-30 13:06:12 -04:00
Jay Danielian
768a1a1d43 Initial commit for trying to produce and consume v3 swagger 2019-06-29 18:12:21 -04:00
Richard Morris
10bb732148
Merge pull request #177 from FormAPI/show_response_body_for_invalid_code
Show response body when the response code is unexpected.
2019-04-08 12:25:28 +01:00
Richard Morris
c74c88fd46
Merge pull request #176 from BookOfGreg/patch-1
Update swagger_helper.rb
2019-04-08 12:24:54 +01:00
Richard Morris
9cb187192d
Merge pull request #23 from drewish/contributing
Add a contributing file
2019-04-08 12:17:32 +01:00
Richard Morris
636cdcd8b3
Merge pull request #92 from seriousbee/add-section-on-formatting-to-RM
Updated Readme.md:
2019-04-08 12:17:05 +01:00
Nathan Broadbent
e381bf85d4 Show response body when the response code is unexpected. Makes it much easier to debug test failures 2018-12-22 15:20:49 +07:00
Greg Myers
9642937ee2
Update swagger_helper.rb
Use standard filesystem helpers to avoid OS specific slash errors.
2018-12-18 13:29:40 +00:00
Richard Morris
a50bf616b9
Merge pull request #156 from earksiinni/patch-1
Fix installation instructions for separate gems
2018-10-09 15:02:44 -07:00
Ersin Akinci
d69aa16985
Fix installation instructions for separate gems 2018-10-09 13:44:58 -07:00
Richard Morris
4d1f5f831b
Merge pull request #150 from MSanteler/master
Update comment in swagger_helper template
2018-09-19 16:24:18 -07:00
Matthew Santeler
aa8f16070d Update comment in swagger_helper template 2018-09-19 15:24:16 -04:00
Richard Morris
6fc9faab57
Reflect swagger-ui upgrade in readme 2018-07-11 09:01:50 -07:00
Richard Morris
5ea1670d79
Merge pull request #136 from ledermann/upgrade-swagger-ui-to-3-17-3
Upgrade Swagger UI to 3.17.3
2018-07-10 07:53:01 -07:00
Georg Ledermann
00aa08bb22 ⬆️ Upgrade "swagger-ui" to 3.17.3 2018-07-10 14:49:12 +02:00
Richard Morris
ef91e087d3 Update compatibility chart to reflect realty 2018-06-21 23:27:57 -07:00
Richard Morris
be6def33ac
Merge pull request #134 from ledermann/upgrade-swagger-ui-to-3-17-1
Upgrade Swagger UI to 3.17.1
2018-06-21 07:34:15 -07:00
Georg Ledermann
6b04c72cc9 ⬆️ Upgrade "swagger-ui" to 3.17.1 2018-06-21 09:11:06 +02:00
Richard Morris
890a31e749
Merge pull request #129 from hoshinotsuyoshi/fix_typo_readme
Fix typo in README
2018-05-30 18:16:01 -07:00
hoshinotsuyoshi
862ea53cf4 Fix typo in README
Fixed Gemfile example.
2018-05-31 08:54:12 +09:00
Richard Morris
254ade95db
Update README.md 2018-05-24 20:28:17 -07:00
Richard Morris
b9f71fe9b1
Merge pull request #117 from imRohan/master
Fixed typos in the swagger_helper.rb file
2018-05-24 20:00:10 -07:00
Richard Morris
870d467046
Merge pull request #125 from indocomsoft/patch-1
Fix travis to not cleanup when publishing rswag-ui
2018-05-24 19:59:56 -07:00
Julius Putra Tanu Setiaji
334671cb95
Fix travis to not cleanup when publishing rswag-ui
This is to keep `node_modules` directory.
2018-05-25 10:05:48 +08:00
domaindrivendev
efdfee5110 Tweak rswag-ui.gemspec to include node_modules 2018-05-24 09:31:06 -07:00
domaindrivendev
0c49c7e667 Ensure npm install runs during the deploy rswag-ui job 2018-05-24 08:58:19 -07:00
Richard Morris
e52ea0ba69
Update readme 2018-05-21 16:18:30 -07:00
domaindrivendev
9602db34fa Update readme in prep for 2.0.0 release 2018-05-21 16:16:20 -07:00
Richard Morris
d4b6848fa5
Merge pull request #122 from gouthamvel/patch-1
Add alternative way to load gem for optimization
2018-05-20 09:33:08 -07:00
goutham
799fc70d3a
Add alternative way to load gem for optimization
Most projects don't load rspec in production mode. So makes sense to add it to guide.
2018-05-20 18:22:06 +03:00
Richard Morris
6f8bbdbf2c
Merge pull request #121 from domaindrivendev/swagger-ui-3
swagger-ui as middleware & upgrade to 3.12.2
2018-05-17 09:11:12 -07:00
domaindrivendev
fee8491ab6 swagger-ui as middleware & upgrade to 3.12.2 2018-05-17 09:02:05 -07:00
domaindrivendev
4c708295b9 Update travis config to test against rails 5.2.0 2018-04-23 21:53:19 -07:00
domaindrivendev
c8e9ab3221 Add puma to Gemfile to fix integration tests 2018-04-23 16:24:43 -07:00
domaindrivendev
26a3bf5079 avoid metadata mutation in request_factory 2018-04-23 16:00:07 -07:00
Richard Morris
12daacf9a5
Merge pull request #112 from akurashev/master
Fix Authorization header missing and duplicating
2018-04-23 15:49:32 -07:00
Rohan Likhite
fee3b3bb84 fixed typos in the swagger_helper.rb file 2018-03-29 11:42:36 -04:00
Andrey Kurashev
05e1e2271f Fix Authorization header missing and duplicating 2018-02-20 14:49:13 +06:00