Critical Validation Error
We were working on adding some new models and endpoints to an API. Everything looked good and while working locally we could use VS Code plugins to render the specs. We went to push up to SwaggerHub using the swaggerhub-cli and started to receive the error "CRITICAL Unable to evaluate definition due to formatting issue". We look in the SwaggerHub UI and there are no errors shown; we try to publish but no luck. We scoured over the formatting and didn't find any issues. We tried commenting out certain properties and it would pass validation, even though there were other properties that were referencing the same model that the commented-out property was using. After more messing around, we started adding extra unused models to see if file length was an issue, and determined that maybe the specs file was too long, we were sitting right around 56,905 lines when we started to get the error. We moved our new endpoints to a new API in SwaggerHub and it rendered fine and had no errors. We don't actually want these endpoints in a separate API than the other existing endpoints, but that is our only workaround at the time because we cannot get past the error. Has anyone else run into this? Are there line length limits? What does the code look like that produces this error, would love to try running it locally?