Commit Graph

76 Commits

Author SHA1 Message Date
Greg Myers
a96a466205 doctoc the readme 2020-04-05 00:44:20 +01:00
Greg Myers
965f14406f add support for oneOf anyOf allOf 2020-04-05 00:36:25 +01:00
Greg Myers
74ea37e048
Merge branch 'master' into openapi/merge 2020-04-04 20:05:00 +01:00
Greg Myers
1996f5130f
doc: note that content-type is dynamic 2020-04-04 20:00:39 +01:00
Greg Myers
8ae6653cf7
Merge branch 'master' into configure-response-header-in-rswag-api 2020-04-04 19:57:16 +01:00
Greg Myers
e0ed6bb646
Merge branch 'master' into openapi/merge 2020-04-04 19:47:12 +01:00
Greg Myers
bd06ebe526
Merge pull request #167 from akabiru/feat/add-basic-auth
🔒Add Optional Basic Auth for Rswag UI
2020-04-04 18:29:39 +01:00
Brigitte Jellinek
3046ea9f33
fix README.md: dry_run goes into test.rb, not application.rb
adding RSpec.configure to application.rb can lead to problems in production, where rspec may not be present.
config/environments/test.rb avoids these problems.
2020-03-23 07:10:23 +01:00
Greg Myers
b5e210cd96 Merge branch 'openapi/master' into openapi/merge 2020-03-20 15:38:40 +00:00
Rutger Gelling
f331e064fd Add yaml support (#7) 2020-01-27 20:24:27 -05:00
Rutger Gelling
b9ac008a9f Point to the correct version of rswag-specs (#6) 2020-01-27 20:20:07 -05:00
Kabiru Mwenja
6e706c04d7
Merge branch 'origin/master' into feat/add-basic-auth 2020-01-06 10:01:19 +03:00
Greg Myers
63f01962ad
Merge pull request #254 from fooki/master
Parameterize the pattern for test locations
2019-11-17 09:55:54 +00:00
Karl Johansson
4c613af2ba Allow tests to be run without generating docs
By providing the 'document: false' metadata, tests will be run but no swagger
documentation will be generated for the tagged example groups. It works on all
kinds of example groups (responses, verbs, paths etc..).
2019-11-15 16:21:04 +01:00
Karl Johansson
3cd9d38e19 Parameterize the pattern for test locations
This commit allows users to specify search patterns when finding tests to
swaggerize. Omitting the pattern parameter makes rswag search with the default
patterns.

A typical usecase for this feature is when you already have a test suite set up
and you want to use rswag for generating swagger docs rather than high-coverage
testing.

Usage:

rake rswag:specs:swaggerize PATTERN='/your_path..'
2019-11-15 14:51:17 +01:00
Greg Myers
4516ad4b78 Update changelog and tweak readme 2019-11-02 14:52:37 +00:00
Greg Myers
2cf6812ae0
Update README.md 2019-10-19 21:39:24 +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
Laura Watson
ea2ed6ca49 Update README 2019-10-17 17:18:27 +01:00
Greg Myers
28245d4dd0
Update README.md 2019-10-17 10:02:24 +01:00
Greg Myers
b1e089af6a
Merge pull request #204 from stefanosx/patch-1
Update README.md
2019-10-16 23:45:53 +01:00
Hayley
dc2ebd94bb update swagger ui to 3.18.2 2019-10-08 16:18:55 +01:00
Greg Myers
0246ff164f Update readme 2019-10-03 23:00:27 +01:00
Greg Myers
7df00dde94
Merge pull request #227 from biow0lf/biow0lf-patch-1
Fix typo
2019-09-30 21:12:11 +01:00
Greg Myers
b7a6b2de8b
Update README.md
Repoint readme links
2019-09-30 21:06:14 +01:00
Igor Zubkov
a00145c1f7
Fix typo 2019-08-20 16:51:27 +03:00
Jay Danielian
5e48a2cae3 fixes badge path 2019-08-04 11:23:45 -04:00
Jay Danielian
5a8d1ce359 Updates README with proper links and examples for new OpenApi 3.0 syntax / features
Missed a few generator items as part of the rename
2019-08-04 11:00:33 -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
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
stefanosx
49b5059273
Update README.md
You need to run the generation of rswag:api:install rswag:ui:install in separated lines to work
2019-03-06 12:59:24 +01:00
PJ Davis
d00bb06e19 allow headers to be set in the configuration of rswag-api 2019-01-30 13:46:13 -05:00
Rich Daley
bfd3d66ec2 Add a 'rake rswag' that runs swaggerize as the default 2019-01-07 14:17:53 +00:00
Austin Kabiru
875bbfa04b
chore(auth): Add documentation and specs 2018-11-30 14:54:10 +03:00
Ersin Akinci
d69aa16985
Fix installation instructions for separate gems 2018-10-09 13:44:58 -07:00
Richard Morris
6fc9faab57
Reflect swagger-ui upgrade in readme 2018-07-11 09:01:50 -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
Georg Ledermann
6b04c72cc9 ⬆️ Upgrade "swagger-ui" to 3.17.1 2018-06-21 09:11:06 +02: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
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
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
Tomasz Czernuszenko
3eda72155a Updated Readme.md:
Added a section on markdown formatting and and clarified some descriptions of API versioning
2017-08-07 14:12:40 +01:00
domaindrivendev
97c2a39cfa Refactor request_factory & response_validator 2017-07-20 23:42:40 -07:00
domaindrivendev
de7ec5f15d Leverage security definitions for headers in example requests 2017-06-26 17:52:00 -07:00
domaindrivendev
1de29136ef Merge pull request #64 from jume-dev/swagger-ui-url-patch
Add proper swagger ui url
2017-06-26 17:39:04 -07:00
domaindrivendev
e03a6d333f Merge branch 'master' into fixdepnotice 2017-06-26 17:26:28 -07:00
Robert Kranz
69c7decce1 Add proper swagger ui url
As this only supports swagger ui 2, the url should link accordingly
2017-06-01 16:01:15 +02:00