You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when the number is entries in a result is approx 10000, it takes approximately 3 to 5 mins to render the same in swagger UI ,
When I test my application APIs with swagger it takes longer time to display the result.
Response content type: application/Json
[
{"Id": 1,"name": "test 0001" },
{ "Id": 2, "name": "test 0003" },
<< add 10000 more entries >>
{ "Id": 10000, "name": "test 10000" },
]
The text was updated successfully, but these errors were encountered:
@ArulJeyananth Your issue is more related to the high number of response items and this behavior is quite normal.
What exactly does this have to do with gin-swagger ?
In normal circumstances, you shouldn't reply with a large number of items and you may use a paginated result and lazy load the items.
Swag is just a documentation generator, I don't see how we can help more in this matter.
when the number is entries in a result is approx 10000, it takes approximately 3 to 5 mins to render the same in swagger UI ,
When I test my application APIs with swagger it takes longer time to display the result.
Response content type: application/Json
[
{"Id": 1,"name": "test 0001" },
{ "Id": 2, "name": "test 0003" },
<< add 10000 more entries >>
{ "Id": 10000, "name": "test 10000" },
]
The text was updated successfully, but these errors were encountered: