ynab / ynab-sdk-js

YNAB API Client for JavaScript
https://api.ynab.com
Apache License 2.0
217 stars 20 forks source link

Rate limit values are no longer shown #164

Closed SathyaBhat closed 9 months ago

SathyaBhat commented 9 months ago

In #116 the rate limit value was added to the response object. It looks like with the new OpenAPI spec, the rate limit values are either omitted from the header/body and not exposed at all.

bradymholt commented 9 months ago

Yes, the rateLimit property was removed in v2.0.0 when the library was switched over from Swagger to OpenAPI Generator. Please see related release notes.

SathyaBhat commented 9 months ago

@bradymholt THanks, I missed that. Any suggestions on how to keep track of the rate limit now that the response object doesn't have it?