Use of the `$ref` and `allOf` keywords in _freely-namable-areas_, such as Model names, property names, etc - will throw an error. This is taken from https://github.com/swagger-api/swagger-editor/issues/1343 Steps: (I created a failing test case here: https://github.com/swagger-api/swagger-js/pull/1195 )