Closed blacktop closed 1 year ago
I tried reverting the commit and it still fails and I tried forcing version 1.6.1 and it still fails :(
Can you share you repo where it's failing? If I can reproduce it then I might be able to fix it
@rohit-gohri https://github.com/blacktop/ipsw/tree/master/www
here is the commit that seemed to break it - https://github.com/blacktop/ipsw/commit/59eac04013d5f490e41fa58f28cb1ce263faf8e8
However, I tried to revert back to the older version but it still errors in the same way :(
i feel like since the action doesn't run when the swagger.json is updated it actually broke because of some change in the swagger file b/w the last successful build - this commit and the first failure
You can check the diff b/w the 2 commits and see that swagger has changed in b/w - https://github.com/blacktop/ipsw/compare/d8641ab9d653f16b365ccf3b550d9b4c6e8a5c81...59eac04013d5f490e41fa58f28cb1ce263faf8e8
So maybe the issue is not the package upgrade that's why revert doesn't work
many thanks! I have swagger.json in my root api/ folder AND in the www/static folder. I had removed the minItems from one but not both. This has fixed the issue. This is something introduced by the latest version of https://github.com/go-swagger/go-swagger it seems :(
We use the redocly cli to parse the file (https://github.com/Redocly/redocly-cli) if you want to debug exactly what property is causing the crash
thanks @rohit-gohri !