- add support for int|float|... (only scalar)
- format can be int32/int64
- exclusiveMinimum/exclusiveMaximum is
false
by default
- format can be float/number
format
is only hint
type: array
items:
oneOf:
- type: string
- type: integer
?
oneOf:
- type: string
- type: integer
type: array
items: {}
(we now sending items:
without empty object)
type: object
properties:
id:
# Returned by GET, not used in POST/PUT/PATCH
type: integer
readOnly: true
username:
type: string
password:
# Used in POST/PUT/PATCH, not returned by GET
type: string
writeOnly: true
if we start using {}
syntax, maybe move
type: object
additionalProperties: true
to
type: object
additionalProperties: {}
{}
isn't nullable! we must use {nullable: true}
type: object
minProperties: 2
maxProperties: 10