Skip to content

Commit

Permalink
allow in Section
Browse files Browse the repository at this point in the history
  • Loading branch information
patodevilla committed Mar 7, 2024
1 parent 42a0849 commit 87f790b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GIT
PATH
remote: .
specs:
json_schema_form (0.15.23)
json_schema_form (0.15.24)
activesupport (~> 6)
dry-schema (~> 1.13)
json_schemer (= 2.1.1)
Expand Down
3 changes: 3 additions & 0 deletions lib/jsf/forms/section.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ def dry_schema(passthru)
optional(:minItems).filled(:integer)
required(:items).hash
required(:type)
optional(:$id).filled(:string)
optional(:title).maybe(:string)
# optional(:default)
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/jsf/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module JSF
VERSION = "0.15.23"
VERSION = "0.15.24"
end

0 comments on commit 87f790b

Please sign in to comment.