I tried this approach of splitting everything, including "paths" and "definitions", but these two last steps didn't work. I don't know if I am missing something, but the library is handling the "$ref" attribute as string, and it fails. Here is what I am getting for "definitions" if I try to set it as a ref:
Cannot create property 'id' on string 'definitions/index.json'
Hi,
I tried this approach of splitting everything, including "paths" and "definitions", but these two last steps didn't work. I don't know if I am missing something, but the library is handling the "$ref" attribute as string, and it fails. Here is what I am getting for "definitions" if I try to set it as a ref:
Cannot create property 'id' on string 'definitions/index.json'
Have you also faced this error before?