Description
JSON schema distinguishes between the number type (which is the same as JSON's number, i.e. an arbitrary precision floating point number) and the integer type; the latter requires integral values.
Here are the inappropriately typed number properties I found - note that every single number type in current use should instead be an integer:
apispec file | command | property/ies |
---|---|---|
collections.collection.Commands.json | rebalance-leaders | maxAtOnce, maxWaitSeconds |
collections.Commands.json | create | numShards, replicationFactor |
core.SchemaEdit.addFieldType.json | N/A | positionIncrementGap |
cores.Commands.json | create | numShards |