zero-rails_openapi 1.5.2 → 1.5.3
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 +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +5 -3
- data/README.md +149 -149
- data/README_zh.md +183 -167
- data/documentation/examples/examples_controller.rb +1 -1
- data/documentation/parameter.md +3 -3
- data/lib/oas_objs/param_obj.rb +7 -18
- data/lib/oas_objs/ref_obj.rb +2 -1
- data/lib/oas_objs/schema_obj.rb +26 -62
- data/lib/oas_objs/schema_obj_helpers.rb +37 -21
- data/lib/open_api/dsl/api_info.rb +24 -41
- data/lib/open_api/dsl/common_dsl.rb +3 -2
- data/lib/open_api/dsl/components.rb +25 -33
- data/lib/open_api/dsl/helpers.rb +24 -8
- data/lib/open_api/dsl.rb +3 -2
- data/lib/open_api/generator.rb +7 -7
- data/lib/open_api/version.rb +1 -1
- data/zero-rails_openapi.gemspec +3 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e379474242f12093cbcdda82869ec2d449f2d33e
|
4
|
+
data.tar.gz: 4815234c98ed9da4b501bd9e453eb09ea972674b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a847f1d27f99ee9a43a134e2444d92e2b52803fb3066f6175cc208977976893cead9806d5974337557fec2721ed89cb35cf1d77350cd0b87f99b0bad02c8d5a
|
7
|
+
data.tar.gz: dae5e7108659560ff3ec5beb2fd379ba05301b7f32c7d4c5cf714ed36eecb5bebcaa643d6d038a082e7b596ad6ddfc98b7aa4915f846cd876c9994ce79bcd8b6
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## [1.5.3] - 2018/1/25 - [view diff](https://github.com/zhandao/zero-rails_openapi/compare/v1.5.2...v1.5.3)
|
6
|
+
|
7
|
+
## Added
|
8
|
+
|
9
|
+
1. Colorize output.
|
10
|
+
|
11
|
+
## Changed
|
12
|
+
|
13
|
+
1. Refactoring SchemaObj and remove `preprocess`.
|
14
|
+
2. `schema_hash` => `schema_info`.
|
15
|
+
3. Refactoring `process_objs` .. dsl/ files.
|
16
|
+
|
17
|
+
## Fixed
|
18
|
+
|
19
|
+
1. max lth and min lth is reversed.
|
20
|
+
|
5
21
|
## [1.5.2] - 2018/1/2 - [view diff](https://github.com/zhandao/zero-rails_openapi/compare/v1.5.1...v1.5.2)
|
6
22
|
|
7
23
|
## Added
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
zero-rails_openapi (1.5.
|
4
|
+
zero-rails_openapi (1.5.3)
|
5
5
|
activesupport (>= 3)
|
6
6
|
rails (>= 3)
|
7
7
|
|
@@ -47,6 +47,7 @@ GEM
|
|
47
47
|
tzinfo (~> 1.1)
|
48
48
|
arel (8.0.0)
|
49
49
|
builder (3.2.3)
|
50
|
+
colorize (0.8.1)
|
50
51
|
concurrent-ruby (1.0.5)
|
51
52
|
crass (1.0.3)
|
52
53
|
diff-lcs (1.3)
|
@@ -54,7 +55,7 @@ GEM
|
|
54
55
|
erubi (1.7.0)
|
55
56
|
globalid (0.4.1)
|
56
57
|
activesupport (>= 4.2.0)
|
57
|
-
i18n (0.9.
|
58
|
+
i18n (0.9.3)
|
58
59
|
concurrent-ruby (~> 1.0)
|
59
60
|
json (2.1.0)
|
60
61
|
loofah (2.1.1)
|
@@ -65,7 +66,7 @@ GEM
|
|
65
66
|
method_source (0.9.0)
|
66
67
|
mini_mime (1.0.0)
|
67
68
|
mini_portile2 (2.3.0)
|
68
|
-
minitest (5.
|
69
|
+
minitest (5.11.1)
|
69
70
|
nio4r (2.2.0)
|
70
71
|
nokogiri (1.8.1)
|
71
72
|
mini_portile2 (~> 2.3.0)
|
@@ -134,6 +135,7 @@ PLATFORMS
|
|
134
135
|
|
135
136
|
DEPENDENCIES
|
136
137
|
bundler (~> 1.16.a)
|
138
|
+
colorize
|
137
139
|
rake (~> 10.0)
|
138
140
|
rspec (~> 3.0)
|
139
141
|
simplecov
|