No I did not. Frankly looking at the code currently I don't think there is
a way to control that so we either fork it or will need an enhancement.

IMHO, this should be escalated as it can be a very limiting issue.

Regards,
Luiz

On Fri, Feb 3, 2017 at 6:24 PM, Eric Tice <[email protected]> wrote:

> Luiz,
>
> Did you get an answer to this?  I am seeing a similar issue.  I see posts
> under this but none that seem to explain any answer.  Any help would be
> appreciated.
>
> Eric
>
> On Friday, January 6, 2017 at 4:11:31 PM UTC-6, Luiz Omori wrote:
>>
>> Sorry, forgot to say: I'm using Swagger Node Express (latest) and the
>> error below happens when I try a Post to a REST service running under it.
>> The problem may be a bit more serious as it seems to affect any type of
>> payloads (body), not just JSON. 100kb is to small for certain use cases.
>>
>> Regards,
>> Luiz
>>
>> On Thursday, January 5, 2017 at 11:41:02 AM UTC-5, Luiz Omori wrote:
>>>
>>> Hi,
>>>
>>> I happen to have an auto-generated JSON file that is larger than 100kb.
>>> I'm getting 413 (Payload Too Large) error when posting it. I found out that
>>> Swagger Node is using its own bodyParser (text.js coming from Swagger Tools
>>> dependency). This module is loaded by swagger-metadata and the options
>>> passed (line 53 of swagger-metadata.js) don't specify any request size
>>> limits which then causes text.js to use the default 100kb. Is there a way
>>> to override this behaviour?
>>>
>>> Regards,
>>> Luiz
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Swagger" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/swagger-swaggersocket/X4_r3FlytWo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to