Open
Description
In the spec currently this is valid:
type: object
required:
- name
properties:
name:
type: string
However, this is not:
type: object
readOnly:
- name
properties:
name:
type: string
This is needed because when using a ref (for example, to an enum) this does not work:
type: object
properties:
somEnum:
readOnly: true
$ref: '#definitions/SomeEnum'