openapi_parser 0.15.0 → 1.0.0
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/.github/workflows/ci.yaml +1 -1
- data/.ruby-version +1 -0
- data/CHANGELOG.md +8 -0
- data/README.md +27 -0
- data/Rakefile +5 -1
- data/Steepfile +11 -0
- data/lib/openapi_parser/concerns/expandable.rb +19 -16
- data/lib/openapi_parser/config.rb +14 -0
- data/lib/openapi_parser/errors.rb +17 -0
- data/lib/openapi_parser/reference_expander.rb +2 -2
- data/lib/openapi_parser/schema_validators/base.rb +3 -8
- data/lib/openapi_parser/schema_validators/string_validator.rb +25 -22
- data/lib/openapi_parser/version.rb +1 -1
- data/lib/openapi_parser.rb +6 -6
- data/openapi_parser.gemspec +10 -2
- data/sig/openapi_parser/config.rbs +17 -0
- data/sig/openapi_parser/schema_validator.rbs +46 -0
- data/sig/openapi_parser/schema_validators/base.rbs +17 -0
- data/sig/openapi_parser/schema_validators/options.rbs +17 -0
- data/sig/openapi_parser/schemas/base.rbs +17 -0
- data/sig/openapi_parser/version.rbs +3 -0
- data/sig/openapi_parser.rbs +19 -0
- data/sig/types.rbs +8 -0
- data/sig/wip_types.rbs +67 -0
- metadata +43 -5
- data/TAGS +0 -1352
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openapi_parser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ota42y
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-02-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -122,6 +122,34 @@ dependencies:
|
|
|
122
122
|
- - ">="
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '0'
|
|
125
|
+
- !ruby/object:Gem::Dependency
|
|
126
|
+
name: steep
|
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
|
128
|
+
requirements:
|
|
129
|
+
- - ">="
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: '0'
|
|
132
|
+
type: :development
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
- - ">="
|
|
137
|
+
- !ruby/object:Gem::Version
|
|
138
|
+
version: '0'
|
|
139
|
+
- !ruby/object:Gem::Dependency
|
|
140
|
+
name: activesupport
|
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
|
142
|
+
requirements:
|
|
143
|
+
- - "~>"
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: '6.0'
|
|
146
|
+
type: :development
|
|
147
|
+
prerelease: false
|
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
+
requirements:
|
|
150
|
+
- - "~>"
|
|
151
|
+
- !ruby/object:Gem::Version
|
|
152
|
+
version: '6.0'
|
|
125
153
|
description: parser for OpenAPI 3.0 or later
|
|
126
154
|
email:
|
|
127
155
|
- ota42y@gmail.com
|
|
@@ -134,13 +162,14 @@ files:
|
|
|
134
162
|
- ".rspec"
|
|
135
163
|
- ".rubocop.yml"
|
|
136
164
|
- ".rubocop_ignore.yml"
|
|
165
|
+
- ".ruby-version"
|
|
137
166
|
- CHANGELOG.md
|
|
138
167
|
- CODE_OF_CONDUCT.md
|
|
139
168
|
- Gemfile
|
|
140
169
|
- LICENSE.txt
|
|
141
170
|
- README.md
|
|
142
171
|
- Rakefile
|
|
143
|
-
-
|
|
172
|
+
- Steepfile
|
|
144
173
|
- bin/console
|
|
145
174
|
- bin/setup
|
|
146
175
|
- lib/openapi_parser.rb
|
|
@@ -205,6 +234,15 @@ files:
|
|
|
205
234
|
- lib/openapi_parser/schemas/schema.rb
|
|
206
235
|
- lib/openapi_parser/version.rb
|
|
207
236
|
- openapi_parser.gemspec
|
|
237
|
+
- sig/openapi_parser.rbs
|
|
238
|
+
- sig/openapi_parser/config.rbs
|
|
239
|
+
- sig/openapi_parser/schema_validator.rbs
|
|
240
|
+
- sig/openapi_parser/schema_validators/base.rbs
|
|
241
|
+
- sig/openapi_parser/schema_validators/options.rbs
|
|
242
|
+
- sig/openapi_parser/schemas/base.rbs
|
|
243
|
+
- sig/openapi_parser/version.rbs
|
|
244
|
+
- sig/types.rbs
|
|
245
|
+
- sig/wip_types.rbs
|
|
208
246
|
homepage: https://github.com/ota42y/openapi_parser
|
|
209
247
|
licenses:
|
|
210
248
|
- MIT
|
|
@@ -217,14 +255,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
217
255
|
requirements:
|
|
218
256
|
- - ">="
|
|
219
257
|
- !ruby/object:Gem::Version
|
|
220
|
-
version:
|
|
258
|
+
version: 2.6.0
|
|
221
259
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
260
|
requirements:
|
|
223
261
|
- - ">="
|
|
224
262
|
- !ruby/object:Gem::Version
|
|
225
263
|
version: '0'
|
|
226
264
|
requirements: []
|
|
227
|
-
rubygems_version: 3.
|
|
265
|
+
rubygems_version: 3.3.3
|
|
228
266
|
signing_key:
|
|
229
267
|
specification_version: 4
|
|
230
268
|
summary: OpenAPI3 parser
|