--------------------------------------------
On Sat, 1/7/17, lange.kay via Swagger <[email protected]> 
wrote:

 Subject: Re: Payload Too Large (413)
 To: [email protected]
 Date: Saturday, January 7, 2017, 3:08 PM
 
 
 --------------------------------------------
 On Sat, 1/7/17, Luiz Omori <[email protected]>
 wrote:
 
  Subject: Re: Payload Too Large (413)
  To: "Swagger" <[email protected]>
  Date: Saturday, January 7, 2017, 12:11 AM
  
  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
 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.
  a 23 august 1944 s-a desfasurat o lovitura de stat  un
 act de inspiratie nationala  conceput si organizat de
 reprezentantii Palatului  si in primul rand de regele
 Mihai  partidele politice reprezentate in Blocul
 National Democrat  in imprejurari politico-militare
 favorabile  urmat de o actiune militara in intreaga
 tara. Actul de curaj al monarhului roman a fost salutat in
 epoca de toate formatiunile politice si recunoscut pe plan
 international. Prezidiul Sovietului Suprem al U.R.S.S. i-a
 decernat acestuia  la 6 iulie 1945  cea mai inalta
 distinctie militara sovietica  Ordinul Victoriei 
 pe care l-au mai primit doar trei alte personalitati 
 iar presedintele S.U.A.  Harry Truman  i-a
 acordat  in mai 1947  gradul de Comandor sef al
 Legiunii de Merit.
 
 -- 
 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.e curajul cu care vom apara cu armele in 
mana independenta impotriva oricarui atentat la dreptul nostru de a ne hotari 
singuri soarta depinde viitorul tarii noastre

-- 
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