open_api-rswag 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4990fcaa68308406f70d64ee9f48c5d841c0b84f49632882ba42ea33ace6a71c
4
+ data.tar.gz: 984b6d0d7c4fd19653bf7f8c2bfada765dfe01f522406cf4085a7d85fcbf4cc9
5
+ SHA512:
6
+ metadata.gz: '063964afde3ea04799a3d7b3f9497ee47d5e33f24401b13de370e04e60d419f50741e9f0e18918ab672aac7b391e18290681b52dc2231662fc203c23c075c6d2'
7
+ data.tar.gz: c144a9f29eaac6268e47b6a6697513e2b22a44e62af6b93178c4d6f84e5ee75c54f27fcb2683275a7776b5fc53ce3b6bd11ac20d7d0c54f4b28c4eaaec9283ca
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2015 domaindrivendev
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,10 @@
1
+ Description:
2
+ Adds a Swagger to your Rails API
3
+
4
+ Example:
5
+ rails generate rswag:install
6
+
7
+ This will create:
8
+ spec/swagger_helper.rb
9
+ config/initializers/rswag-api.rb
10
+ config/initializers/rswag-ui.rb
@@ -0,0 +1,12 @@
1
+ require 'rails/generators'
2
+
3
+ module Rswag
4
+ class InstallGenerator < Rails::Generators::Base
5
+
6
+ def install_components
7
+ generate 'rswag:specs:install'
8
+ generate 'rswag:api:install'
9
+ generate 'rswag:ui:install'
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,6 @@
1
+ module OpenApi
2
+ module Rswag
3
+ class Railtie < ::Rails::Railtie
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,8 @@
1
+ require 'open_api/rswag/specs'
2
+ require 'open_api/rswag/api'
3
+ require 'open_api/rswag/ui'
4
+
5
+ module OpenApi
6
+ module Rswag
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: open_api-rswag
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.4
5
+ platform: ruby
6
+ authors:
7
+ - Richie Morris
8
+ - Jay Danielian
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2019-08-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: open_api-rswag-specs
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '='
19
+ - !ruby/object:Gem::Version
20
+ version: 0.0.4
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '='
26
+ - !ruby/object:Gem::Version
27
+ version: 0.0.4
28
+ - !ruby/object:Gem::Dependency
29
+ name: open_api-rswag-api
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - '='
33
+ - !ruby/object:Gem::Version
34
+ version: 0.0.4
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '='
40
+ - !ruby/object:Gem::Version
41
+ version: 0.0.4
42
+ - !ruby/object:Gem::Dependency
43
+ name: open_api-rswag-ui
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - '='
47
+ - !ruby/object:Gem::Version
48
+ version: 0.0.4
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '='
54
+ - !ruby/object:Gem::Version
55
+ version: 0.0.4
56
+ description: Generate beautiful API documentation, including a UI to explore and test
57
+ operations, directly from your rspec integration tests
58
+ email:
59
+ - domaindrivendev@gmail.com
60
+ executables: []
61
+ extensions: []
62
+ extra_rdoc_files: []
63
+ files:
64
+ - MIT-LICENSE
65
+ - lib/generators/rswag/install/USAGE
66
+ - lib/generators/rswag/install/install_generator.rb
67
+ - lib/open_api/rswag.rb
68
+ - lib/open_api/rswag/railtie.rb
69
+ homepage: https://github.com/jdanielian/open-api-rswag
70
+ licenses:
71
+ - MIT
72
+ metadata: {}
73
+ post_install_message:
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubygems_version: 3.0.4
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: Swagger tooling for Rails API's
92
+ test_files: []