rack-json_schema 1.5.5 → 1.7.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/actions.lock +57 -0
- data/.github/workflows/bump-request.yml +3 -3
- data/.github/workflows/ci.yml +5 -3
- data/.github/workflows/github-label-sync.yml +2 -2
- data/.github/workflows/release.yml +4 -7
- data/Gemfile.lock +14 -10
- data/README.md +0 -2
- data/lib/rack/json_schema/version.rb +1 -1
- data/lib/rack/json_schema.rb +0 -1
- data/rack-json_schema.gemspec +5 -3
- metadata +26 -12
- data/CHANGELOG.md +0 -118
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22c5bdeadc576d8d5bda303912acaa13399768b12f26260576f92041a1fc55b4
|
|
4
|
+
data.tar.gz: 29dfc58222e555ead8518f18b0cd12d0294e8bab446c1ae3744bbc6454ae6e5c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6edde87eb3bdb5d1f7445979d71d0da6587f23d922da636ee7cb06c0023b4da3d756bcfa1f89a13a92b546b87b18d6d2c29ca4ce025281ea03d05f58cc7f55ac
|
|
7
|
+
data.tar.gz: 0ced810e637dffd5af11234dbf2971a07ee434aa3513ce3e84ef0a92363491786158bcac5a5d551b31933163c83170e6de0832b67aed1822ced78b03b2c8739e
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# This file is machine-generated by `gh actions-lock`.
|
|
2
|
+
# Do not edit by hand; run `gh actions-lock` to update.
|
|
3
|
+
# Docs: https://gh.io/actions-lockfile
|
|
4
|
+
version: 'v0.0.3'
|
|
5
|
+
workflows:
|
|
6
|
+
'.github/workflows/bump-request.yml':
|
|
7
|
+
- 'actions/checkout@v7.0.1'
|
|
8
|
+
- 'r7kamura/bump-request@v0.7.1'
|
|
9
|
+
- 'ruby/setup-ruby@v1.336.0'
|
|
10
|
+
'.github/workflows/ci.yml':
|
|
11
|
+
- 'actions/checkout@v7.0.1'
|
|
12
|
+
- 'ruby/setup-ruby@v1.336.0'
|
|
13
|
+
'.github/workflows/github-label-sync.yml':
|
|
14
|
+
- 'r7kamura/github-label-sync-action@v0.1.0'
|
|
15
|
+
'.github/workflows/release.yml': []
|
|
16
|
+
dependencies:
|
|
17
|
+
'actions/checkout@v3':
|
|
18
|
+
ref: 'v3'
|
|
19
|
+
commit: 'sha1-a37ce9120846195fa4ece8f58b268e6043cb2f26'
|
|
20
|
+
owner_id: 44036562
|
|
21
|
+
repo_id: 197814629
|
|
22
|
+
'actions/checkout@v7.0.1':
|
|
23
|
+
ref: 'v7.0.1'
|
|
24
|
+
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
|
|
25
|
+
owner_id: 44036562
|
|
26
|
+
repo_id: 197814629
|
|
27
|
+
'actions/setup-node@v3':
|
|
28
|
+
ref: 'v3'
|
|
29
|
+
commit: 'sha1-3235b876344d2a9aa001b8d1453c930bba69e610'
|
|
30
|
+
owner_id: 44036562
|
|
31
|
+
repo_id: 189476904
|
|
32
|
+
'actions/setup-node@v7.1.0':
|
|
33
|
+
ref: 'v7.1.0'
|
|
34
|
+
commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'
|
|
35
|
+
owner_id: 44036562
|
|
36
|
+
repo_id: 189476904
|
|
37
|
+
'r7kamura/bump-request@v0.7.1':
|
|
38
|
+
ref: 'v0.7.1'
|
|
39
|
+
commit: 'sha1-b27937188d404bc0c2fd442403e6de1d20f9b349'
|
|
40
|
+
owner_id: 111689
|
|
41
|
+
repo_id: 533135195
|
|
42
|
+
uses:
|
|
43
|
+
- 'actions/checkout@v7.0.1'
|
|
44
|
+
- 'actions/setup-node@v7.1.0'
|
|
45
|
+
'r7kamura/github-label-sync-action@v0.1.0':
|
|
46
|
+
ref: 'v0.1.0'
|
|
47
|
+
commit: 'sha1-061649dd3b80eb5bafad0316466f72962e62c300'
|
|
48
|
+
owner_id: 111689
|
|
49
|
+
repo_id: 514711932
|
|
50
|
+
uses:
|
|
51
|
+
- 'actions/checkout@v3'
|
|
52
|
+
- 'actions/setup-node@v3'
|
|
53
|
+
'ruby/setup-ruby@v1.336.0':
|
|
54
|
+
ref: 'v1.336.0'
|
|
55
|
+
commit: 'sha1-de492cf36cbab201753d720ce4f4e336cd688c94'
|
|
56
|
+
owner_id: 210414
|
|
57
|
+
repo_id: 231208785
|
|
@@ -12,13 +12,13 @@ jobs:
|
|
|
12
12
|
run:
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@v7.0.1
|
|
16
16
|
- name: Set up Ruby
|
|
17
|
-
uses: ruby/setup-ruby@v1
|
|
17
|
+
uses: ruby/setup-ruby@v1.336.0
|
|
18
18
|
with:
|
|
19
19
|
ruby-version: '3.3'
|
|
20
20
|
bundler-cache: true
|
|
21
|
-
- uses: r7kamura/bump-request@v0
|
|
21
|
+
- uses: r7kamura/bump-request@v0.7.1
|
|
22
22
|
with:
|
|
23
23
|
command: |
|
|
24
24
|
sed -i -r 's/([0-9]+\.[0-9]+\.[0-9]+)/${{ inputs.version }}/' lib/rack/json_schema/version.rb
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -3,7 +3,7 @@ name: CI
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
|
-
-
|
|
6
|
+
- main
|
|
7
7
|
pull_request:
|
|
8
8
|
|
|
9
9
|
jobs:
|
|
@@ -14,10 +14,12 @@ jobs:
|
|
|
14
14
|
matrix:
|
|
15
15
|
ruby:
|
|
16
16
|
- '3.3'
|
|
17
|
+
- '3.4'
|
|
18
|
+
- '4.0'
|
|
17
19
|
steps:
|
|
18
|
-
- uses: actions/checkout@
|
|
20
|
+
- uses: actions/checkout@v7.0.1
|
|
19
21
|
- name: Set up Ruby
|
|
20
|
-
uses: ruby/setup-ruby@v1
|
|
22
|
+
uses: ruby/setup-ruby@v1.336.0
|
|
21
23
|
with:
|
|
22
24
|
ruby-version: ${{ matrix.ruby }}
|
|
23
25
|
bundler-cache: true
|
|
@@ -3,7 +3,7 @@ name: github-label-sync
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
|
-
-
|
|
6
|
+
- main
|
|
7
7
|
paths:
|
|
8
8
|
- .github/workflows/github-label-sync.yml
|
|
9
9
|
workflow_dispatch:
|
|
@@ -12,7 +12,7 @@ jobs:
|
|
|
12
12
|
build:
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
|
-
- uses: r7kamura/github-label-sync-action@v0
|
|
15
|
+
- uses: r7kamura/github-label-sync-action@v0.1.0
|
|
16
16
|
with:
|
|
17
17
|
source_path: labels-keepachangelog.yml
|
|
18
18
|
source_repository: r7kamura/github-label-presets
|
|
@@ -2,13 +2,10 @@ name: release
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
|
|
6
|
-
-
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
7
|
|
|
8
8
|
jobs:
|
|
9
9
|
release:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
- uses: softprops/action-gh-release@v1
|
|
13
|
-
with:
|
|
14
|
-
generate_release_notes: true
|
|
10
|
+
uses: r7kamura/workflows/.github/workflows/gem-release.yml@main
|
|
11
|
+
if: github.repository_owner == 'r7kamura'
|
data/Gemfile.lock
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rack-json_schema (1.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
rack-json_schema (1.7.0)
|
|
5
|
+
jdoc (>= 0.5.0)
|
|
6
|
+
json (>= 2.7.2)
|
|
7
7
|
json_schema (~> 0.2)
|
|
8
8
|
rack
|
|
9
9
|
|
|
@@ -30,27 +30,30 @@ GEM
|
|
|
30
30
|
diff-lcs (1.5.0)
|
|
31
31
|
drb (2.2.0)
|
|
32
32
|
ruby2_keywords
|
|
33
|
-
|
|
33
|
+
erubi (1.13.1)
|
|
34
34
|
i18n (1.14.1)
|
|
35
35
|
concurrent-ruby (~> 1.0)
|
|
36
|
-
jdoc (0.
|
|
36
|
+
jdoc (0.5.0)
|
|
37
37
|
activesupport
|
|
38
|
-
|
|
38
|
+
erubi
|
|
39
39
|
json_schema
|
|
40
40
|
rack
|
|
41
41
|
redcarpet
|
|
42
|
-
json (2.
|
|
42
|
+
json (2.19.5)
|
|
43
43
|
json_schema (0.21.0)
|
|
44
44
|
method_source (1.0.0)
|
|
45
|
-
minitest (
|
|
45
|
+
minitest (6.0.6)
|
|
46
|
+
drb (~> 2.0)
|
|
47
|
+
prism (~> 1.5)
|
|
46
48
|
mutex_m (0.2.0)
|
|
49
|
+
prism (1.9.0)
|
|
47
50
|
pry (0.14.2)
|
|
48
51
|
coderay (~> 1.1)
|
|
49
52
|
method_source (~> 1.0)
|
|
50
53
|
rack (3.2.4)
|
|
51
54
|
rack-test (2.1.0)
|
|
52
55
|
rack (>= 1.3)
|
|
53
|
-
rake (13.
|
|
56
|
+
rake (13.4.2)
|
|
54
57
|
redcarpet (3.6.0)
|
|
55
58
|
rspec (3.12.0)
|
|
56
59
|
rspec-core (~> 3.12.0)
|
|
@@ -82,10 +85,11 @@ PLATFORMS
|
|
|
82
85
|
|
|
83
86
|
DEPENDENCIES
|
|
84
87
|
bundler (>= 1.5)
|
|
88
|
+
minitest (>= 6.0)
|
|
85
89
|
pry
|
|
86
90
|
rack-json_schema!
|
|
87
91
|
rack-test
|
|
88
|
-
rake
|
|
92
|
+
rake (>= 13.2.0)
|
|
89
93
|
rspec (>= 2.14.1)
|
|
90
94
|
rspec-console
|
|
91
95
|
rspec-json_matcher
|
data/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# Rack::JsonSchema
|
|
2
2
|
|
|
3
|
-
[](https://github.com/r7kamura/rack-json_schema/actions/workflows/ci.yml)
|
|
4
|
-
|
|
5
3
|
[JSON Schema](http://json-schema.org/) based Rack middlewares.
|
|
6
4
|
|
|
7
5
|
* [Rack::JsonSchema::RequestValidation](#rackjsonschemarequestvalidation)
|
data/lib/rack/json_schema.rb
CHANGED
data/rack-json_schema.gemspec
CHANGED
|
@@ -11,20 +11,22 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
|
|
12
12
|
spec.homepage = "https://github.com/r7kamura/rack-json_schema"
|
|
13
13
|
spec.license = "MIT"
|
|
14
|
+
spec.required_ruby_version = ">= 3.3"
|
|
14
15
|
|
|
15
16
|
spec.files = `git ls-files -z`.split("\x0")
|
|
16
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
17
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
18
19
|
spec.require_paths = ["lib"]
|
|
19
20
|
|
|
20
|
-
spec.add_dependency "
|
|
21
|
-
spec.add_dependency "
|
|
21
|
+
spec.add_dependency "jdoc", ">= 0.5.0"
|
|
22
|
+
spec.add_dependency "json", ">= 2.7.2"
|
|
22
23
|
spec.add_dependency "json_schema", "~> 0.2"
|
|
23
24
|
spec.add_dependency "rack"
|
|
24
25
|
spec.add_development_dependency "bundler", ">= 1.5"
|
|
26
|
+
spec.add_development_dependency "minitest", ">= 6.0"
|
|
25
27
|
spec.add_development_dependency "pry"
|
|
26
28
|
spec.add_development_dependency "rack-test"
|
|
27
|
-
spec.add_development_dependency "rake"
|
|
29
|
+
spec.add_development_dependency "rake", ">= 13.2.0"
|
|
28
30
|
spec.add_development_dependency "rspec", ">= 2.14.1"
|
|
29
31
|
spec.add_development_dependency "rspec-console"
|
|
30
32
|
spec.add_development_dependency "rspec-json_matcher"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rack-json_schema
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryo Nakamura
|
|
@@ -10,33 +10,33 @@ cert_chain: []
|
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
|
-
name:
|
|
13
|
+
name: jdoc
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version:
|
|
18
|
+
version: 0.5.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - ">="
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version:
|
|
25
|
+
version: 0.5.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
|
-
name:
|
|
27
|
+
name: json
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version:
|
|
32
|
+
version: 2.7.2
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - ">="
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version:
|
|
39
|
+
version: 2.7.2
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: json_schema
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -79,6 +79,20 @@ dependencies:
|
|
|
79
79
|
- - ">="
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
81
|
version: '1.5'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: minitest
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - ">="
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '6.0'
|
|
89
|
+
type: :development
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - ">="
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '6.0'
|
|
82
96
|
- !ruby/object:Gem::Dependency
|
|
83
97
|
name: pry
|
|
84
98
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -113,14 +127,14 @@ dependencies:
|
|
|
113
127
|
requirements:
|
|
114
128
|
- - ">="
|
|
115
129
|
- !ruby/object:Gem::Version
|
|
116
|
-
version:
|
|
130
|
+
version: 13.2.0
|
|
117
131
|
type: :development
|
|
118
132
|
prerelease: false
|
|
119
133
|
version_requirements: !ruby/object:Gem::Requirement
|
|
120
134
|
requirements:
|
|
121
135
|
- - ">="
|
|
122
136
|
- !ruby/object:Gem::Version
|
|
123
|
-
version:
|
|
137
|
+
version: 13.2.0
|
|
124
138
|
- !ruby/object:Gem::Dependency
|
|
125
139
|
name: rspec
|
|
126
140
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -185,12 +199,12 @@ extensions: []
|
|
|
185
199
|
extra_rdoc_files: []
|
|
186
200
|
files:
|
|
187
201
|
- ".github/release.yml"
|
|
202
|
+
- ".github/workflows/actions.lock"
|
|
188
203
|
- ".github/workflows/bump-request.yml"
|
|
189
204
|
- ".github/workflows/ci.yml"
|
|
190
205
|
- ".github/workflows/github-label-sync.yml"
|
|
191
206
|
- ".github/workflows/release.yml"
|
|
192
207
|
- ".gitignore"
|
|
193
|
-
- CHANGELOG.md
|
|
194
208
|
- Gemfile
|
|
195
209
|
- Gemfile.lock
|
|
196
210
|
- LICENSE.txt
|
|
@@ -228,14 +242,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
228
242
|
requirements:
|
|
229
243
|
- - ">="
|
|
230
244
|
- !ruby/object:Gem::Version
|
|
231
|
-
version: '
|
|
245
|
+
version: '3.3'
|
|
232
246
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
247
|
requirements:
|
|
234
248
|
- - ">="
|
|
235
249
|
- !ruby/object:Gem::Version
|
|
236
250
|
version: '0'
|
|
237
251
|
requirements: []
|
|
238
|
-
rubygems_version:
|
|
252
|
+
rubygems_version: 4.0.20
|
|
239
253
|
specification_version: 4
|
|
240
254
|
summary: JSON Schema based Rack middlewares
|
|
241
255
|
test_files:
|
data/CHANGELOG.md
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
## 1.5.2
|
|
2
|
-
- Fix bug on handling empty request body handling (e.g. GET)
|
|
3
|
-
|
|
4
|
-
## 1.5.1
|
|
5
|
-
- Fix error when request body is an Array in JSON
|
|
6
|
-
|
|
7
|
-
## 1.5.0
|
|
8
|
-
- Separate :strict option into 2 other options
|
|
9
|
-
|
|
10
|
-
## 1.4.0
|
|
11
|
-
- Allow non JSON Content-Type response on empty body
|
|
12
|
-
|
|
13
|
-
## 1.3.0
|
|
14
|
-
- Support rails-style path format on link detection
|
|
15
|
-
|
|
16
|
-
## 1.2.0
|
|
17
|
-
- Skip content_type check if strict mode is turned off (thx @tomoya55)
|
|
18
|
-
|
|
19
|
-
## 1.1.8
|
|
20
|
-
- Improve error message on LinkNotFound (thx @take)
|
|
21
|
-
|
|
22
|
-
## 1.1.7
|
|
23
|
-
- Skip response validation on 3xx response
|
|
24
|
-
|
|
25
|
-
## 1.1.6
|
|
26
|
-
- Add :strict option to ignore undefined link
|
|
27
|
-
|
|
28
|
-
## 1.1.5
|
|
29
|
-
- Check Content-Type on response validation
|
|
30
|
-
|
|
31
|
-
## 1.1.4
|
|
32
|
-
- Skip validation of non-json request
|
|
33
|
-
|
|
34
|
-
## 1.1.3
|
|
35
|
-
- Validate request parameters in URI query too
|
|
36
|
-
|
|
37
|
-
## 1.1.2
|
|
38
|
-
- Support an empty array response at response validation
|
|
39
|
-
|
|
40
|
-
## 1.1.1
|
|
41
|
-
- Skip response validation if response code is 4xx or 5xx
|
|
42
|
-
|
|
43
|
-
## 1.1.0
|
|
44
|
-
- GET /docs returns HTML
|
|
45
|
-
|
|
46
|
-
## 1.0.7
|
|
47
|
-
- Accepts GET /docs.md
|
|
48
|
-
|
|
49
|
-
## 1.0.6
|
|
50
|
-
- Improve list detection logic
|
|
51
|
-
|
|
52
|
-
## 1.0.5
|
|
53
|
-
- Declare charset=utf-8 in response content type
|
|
54
|
-
|
|
55
|
-
## 1.0.4
|
|
56
|
-
- Return example of array property
|
|
57
|
-
|
|
58
|
-
## 1.0.3
|
|
59
|
-
- Remove dependency on multi_json
|
|
60
|
-
|
|
61
|
-
## 1.0.2
|
|
62
|
-
- Bundled all middlewares into `specup` executable command
|
|
63
|
-
|
|
64
|
-
## 1.0.1
|
|
65
|
-
- Add Rack::JsonSchema::SchemaProvider
|
|
66
|
-
|
|
67
|
-
## 1.0.0
|
|
68
|
-
- Rename: rack-spec -> rack-json_schema
|
|
69
|
-
|
|
70
|
-
## 0.1.8
|
|
71
|
-
- Add Rack::JsonSchema::Docs
|
|
72
|
-
|
|
73
|
-
## 0.1.7
|
|
74
|
-
- Reveal `Rack::JsonSchema::Schema#links`
|
|
75
|
-
|
|
76
|
-
## 0.1.6
|
|
77
|
-
- Support YAML schema at `specup`
|
|
78
|
-
|
|
79
|
-
## 0.1.5
|
|
80
|
-
- Add `specup` executable
|
|
81
|
-
|
|
82
|
-
## 0.1.4
|
|
83
|
-
- Add Rack::JsonSchema::Mock
|
|
84
|
-
- Prettify response JSON
|
|
85
|
-
|
|
86
|
-
## 0.1.3
|
|
87
|
-
- Array response support of Rack::JsonSchema::ResponseValidation
|
|
88
|
-
|
|
89
|
-
## 0.1.2
|
|
90
|
-
- Change Content-Type validation policy
|
|
91
|
-
- Add Rack::JsonSchema::ResponseValidation
|
|
92
|
-
|
|
93
|
-
## 0.1.1
|
|
94
|
-
- Add ErrorHandler rack middleware for building error response
|
|
95
|
-
|
|
96
|
-
## 0.1.0
|
|
97
|
-
- Rebuilt entire code based on JSON schema
|
|
98
|
-
|
|
99
|
-
## 0.0.5
|
|
100
|
-
- Change RESTful resource API (#get, #post, #put, and #delete)
|
|
101
|
-
|
|
102
|
-
## 0.0.4
|
|
103
|
-
- Add Rack::JsonSchema::Restful, strongly conventional RESTful API Provider
|
|
104
|
-
|
|
105
|
-
## 0.0.3
|
|
106
|
-
- Add a new constraint: required
|
|
107
|
-
- More DRY way for validator definition
|
|
108
|
-
|
|
109
|
-
## 0.0.2
|
|
110
|
-
- Change key name: queryParameters -> parameters
|
|
111
|
-
- Add a new constraint: only
|
|
112
|
-
- Add a new constraint: minimumLength
|
|
113
|
-
- Add a new constraint: maxinumLength
|
|
114
|
-
|
|
115
|
-
## 0.0.1
|
|
116
|
-
- Add a new constraint: type
|
|
117
|
-
- Add a new constraint: minimum
|
|
118
|
-
- Add a new constraint: maxinum
|