0

I have an api-part (written in .net) of an application where there is a post-method in the controller that accepts a string value.I am trying to send a request in Swagger with a long string (544743 characters), but in my method I only received a string with 524288 characters . Then I discovered that the maximum input field in ui can hold 524288 characters.

Question: How can I increase input field length in Swagger? P.S. I tried to find a variable in swagger configurations that is responsible for this parameter, but I couldn't.

Craig
  • 2,248
  • 1
  • 19
  • 23
  • 1
    My opinion (and I'm making quite an assumption here as you've not shown any code), if you're trying to load that much into the query parameters, you're probably doing it wrong. Might be better to add this parameter to the body of the request. – Hursey Dec 18 '22 at 19:30

0 Answers0