Sha256: 837946e9c88f08190a10446a1a6b6b9decb51f6b7126bfb5acc4728d68f97d5e
Contents?: true
Size: 332 Bytes
Versions: 22
Compression:
Stored size: 332 Bytes
Contents
module Examples class ArrayDefinitions include JSON::SchemaBuilder def example array do definitions positiveInt: positive_int items ref: '#/definitions/positiveInt' end end def positive_int integer do minimum 0 exclusive_minimum true end end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
json-schema_builder-0.0.3 | spec/support/examples/array_definitions.rb |
json-schema_builder-0.0.2 | spec/support/examples/array_definitions.rb |