0

I have an API call which returns a very very long string, its size is around 885412 characters. But right now I can only capture the first 255 characters of it due to some reasons.

Like as you can see from the picture below, when I hang over my mouse on the response field 'result', it shows that its type is string and its precision is 255, I guess this is the reason. enter image description here

If so, how can I capture the long string completely? Is there any way to increase the precision of this 'result' field?

Below is how I wrote my swagger file now, should I define something to increase the max length here?

"definitions" : { 
"sg_response": {
  "properties": {
    "result": {
      "type" : "string"
    }
  }
}

}

enter image description here

Thank you so much for your help!

La. Li
  • 41
  • 6
  • 2
    Hi, this problem is solved, the precision can be changed in the 'Output Fields' section of the business service component, do make sure to hit enter after you type the new number, otherwise it won't be changed. Hope this helps if you have similar question – La. Li Jun 22 '23 at 16:52
  • Do turn this into response with some screenshot ideally - you'll make someone happy someday. And I'd be happy to upvote! – Maciejg Jun 29 '23 at 13:49

0 Answers0