mashery / iodocs

Interactive API documentation system
MIT License
1.89k stars 415 forks source link

Long integer content-parameters issue #237

Open fpingitore opened 9 years ago

fpingitore commented 9 years ago

Hi,

I'm using the content-parameters on my API page but I'm having a problem with 18 digit numbers as after the 15th it gets rounded up. Is there any other data type I could use to support longer numbers?

Thanks,

fpingitore commented 9 years ago

Even when using the regular "string" type entering a number like 618252755802361856 it gets rounded to 618252755802361900 in the application/json

{ "change_requests": [ { "change_request_id": 618252755802361900 } ] }