When larger swagger [1] as imported into acitve docs, the import fails with 500 response code, and following line appears in log
017-03-28 11:05:56' WHERE `api_docs_services`.`id` = 1):
app/controllers/admin/api_docs/services_controller.rb:53:in `block in update'
app/controllers/admin/api_docs/services_controller.rb:52:in `update'
lib/three_scale/middleware/multitenant.rb:116:in `_call'
lib/three_scale/middleware/multitenant.rb:111:in `call'
lib/action_dispatch/rails5_ssl.rb:86:in `call'
10.40.3.111 - - [28/Mar/2017:11:05:56 +0000] "PATCH /500 HTTP/1.1" 500 - 7.2354
The doc has ~2.5 Mb, when we've tried doc with 1.4 Mb it was saved and presented by 3scale.