SwaggerUI uses SwaggerJS library for many internal operations. If you see errors in swagger-client.js code, you should probably open the issue in SwaggerJS repository.
Please open issues related to OpenAPI Specifications in OpenAPI Specs repository.