{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-node/issues/338","repository_url":"https://api.github.com/repos/swagger-api/swagger-node","labels_url":"https://api.github.com/repos/swagger-api/swagger-node/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-node/issues/338/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-node/issues/338/events","html_url":"https://github.com/swagger-api/swagger-node/issues/338","id":125361579,"number":338,"title":"Multipart form data file upload runs into size limit issue","user":{"login":"girishbr","id":5966051,"avatar_url":"https://avatars.githubusercontent.com/u/5966051?v=3","gravatar_id":"","url":"https://api.github.com/users/girishbr","html_url":"https://github.com/girishbr","followers_url":"https://api.github.com/users/girishbr/followers","following_url":"https://api.github.com/users/girishbr/following{/other_user}","gists_url":"https://api.github.com/users/girishbr/gists{/gist_id}","starred_url":"https://api.github.com/users/girishbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girishbr/subscriptions","organizations_url":"https://api.github.com/users/girishbr/orgs","repos_url":"https://api.github.com/users/girishbr/repos","events_url":"https://api.github.com/users/girishbr/events{/privacy}","received_events_url":"https://api.github.com/users/girishbr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-01-07T09:58:23Z","updated_at":"2016-08-15T10:40:06Z","closed_at":null,"body":"I have this file upload api (multipart/form-data) and I run into a http 413 when I upload a 3.2 mb json file.\r\n```\r\n{\r\n  \"expected\": 3207276,\r\n  \"length\": 3207276,\r\n  \"limit\": 102400,\r\n  \"status\": 413,\r\n  \"statusCode\": 413,\r\n  \"message\": \"request entity too large\",\r\n  \"type\": \"entity.too.large\"\r\n}\r\n```\r\nSwagger-node uses multer internally. And multer doesn't really impose any restrictions. https://github.com/expressjs/multer#limits - it's infinity by default.\r\n\r\nand neither do you, in swagger tools, https://github.com/apigee-127/swagger-tools/blob/master/middleware/swagger-metadata.js#L41, impose any limits.\r\n\r\nI run express 4, so body parser is ruled out.\r\n\r\nI am running on localhost, no nginx or any other proxy in between.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-node/issues/comments/239774581","html_url":"https://github.com/swagger-api/swagger-node/issues/338#issuecomment-239774581","issue_url":"https://api.github.com/repos/swagger-api/swagger-node/issues/338","id":239774581,"user":{"login":"NickBlow","id":6502020,"avatar_url":"https://avatars.githubusercontent.com/u/6502020?v=3","gravatar_id":"","url":"https://api.github.com/users/NickBlow","html_url":"https://github.com/NickBlow","followers_url":"https://api.github.com/users/NickBlow/followers","following_url":"https://api.github.com/users/NickBlow/following{/other_user}","gists_url":"https://api.github.com/users/NickBlow/gists{/gist_id}","starred_url":"https://api.github.com/users/NickBlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickBlow/subscriptions","organizations_url":"https://api.github.com/users/NickBlow/orgs","repos_url":"https://api.github.com/users/NickBlow/repos","events_url":"https://api.github.com/users/NickBlow/events{/privacy}","received_events_url":"https://api.github.com/users/NickBlow/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T10:40:06Z","updated_at":"2016-08-15T10:40:06Z","body":"+1 any solutions so far?"}}
{"actor":{"display_login":"NickBlow"}}