JSON Schema support
JSON schema is supported by Bump.sh
readOnly and writeOnly properties
JSON Schema provides the possibility to declare a property as read or write only, with boolean fields
readOnly (cf JSON Schema documentation).
Thus, it becomes easy to use the same
Schema Object in different contexts, for example as seen below:
writeOnlyproperties are hidden when they belong to a
subscribeoperation in AsyncAPI or a
readOnlyproperties are hidden when they belong to a
publishoperation in AsyncAPI or a
writeOnly properties in subscribe operations and
readOnly properties in publish operations allows the use of the same
Schema Object everywhere it is needed, without generating confusing informations in the documentation.