rswag-ui 2.1.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/rswag/ui/install/templates/rswag-ui.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e7630188d42b49cf0c24e337f2a029c09bd82c84c11ba83d80dde865a378b89
|
4
|
+
data.tar.gz: fc9d4bf362971a394b16598cb3cbacf0d2d40cb8e94c6260dbb9c716325fc9c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3438f98863d237780ed82b7ca946b427a2bb89d2313709d0e0c3d2e4dfbe14c0b1e270613633bbe9e52827fab59eae2aaedbff7b8493d33917f0d60eab7ce07f
|
7
|
+
data.tar.gz: 3f3b7417aed3c92a3134ea40283fc162c2a19baf6f6f766cd729fa2f52e6b8290f0f2d24309ac2768faf18d01f82d0a2188b4eeca6480dd75e8bd1fcc3c43825
|
@@ -2,9 +2,9 @@ Rswag::Ui.configure do |c|
|
|
2
2
|
|
3
3
|
# List the Swagger endpoints that you want to be documented through the swagger-ui
|
4
4
|
# The first parameter is the path (absolute or relative to the UI host) to the corresponding
|
5
|
-
#
|
6
|
-
# NOTE: If you're using rspec-api to expose Swagger files (under swagger_root) as JSON endpoints,
|
5
|
+
# endpoint and the second is a title that will be displayed in the document selector
|
6
|
+
# NOTE: If you're using rspec-api to expose Swagger files (under swagger_root) as JSON or YAML endpoints,
|
7
7
|
# then the list below should correspond to the relative paths for those endpoints
|
8
8
|
|
9
|
-
c.swagger_endpoint '/api-docs/v1/swagger.
|
9
|
+
c.swagger_endpoint '/api-docs/v1/swagger.yaml', 'API V1 Docs'
|
10
10
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rswag-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richie Morris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
109
|
rubyforge_project:
|
110
|
-
rubygems_version: 2.7.
|
110
|
+
rubygems_version: 2.7.8
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: A Rails Engine that includes swagger-ui and powers it from configured Swagger
|