Revision b39618a2
[BUGFIX] Schema validation: Accept interfaces for format "class-name"
This change adjusts the ``SchemaValidator`` to accept strings referring
interfaces even if format "class-name" is required.
Background:
Currently if a string is expected to have the format "class-name", like::
{ type: string, format: class-name }
in a schema validation, only actual class names are accepted. To match
interfaces the "interface-name" format can be used.
In Flow we often use interface names in Objects.yaml in order to keep
things decoupled and flexible.
Because it's not possible to specify multiple supported formats, this
relaxes this restriction.
Change-Id: I5733ba52ea812f0598a14bc9e40aea32eea4e909
Releases: master, 2.3, 2.2
- added
- modified
- copied
- renamed
- deleted