fern-api / fern

Input OpenAPI. Output SDKs and Docs.
https://buildwithfern.com
Apache License 2.0
2.68k stars 151 forks source link

feat(cli): Add RetryConfig to IR #5180

Open amckinney opened 1 week ago

amckinney commented 1 week ago

This adds a new RetryConfig to the IR so that we can customize and centralize what HTTP status codes each generator should act upon.

Eventually, we imagine this could hold other information like default retry attempts, and minimum/maximum delay, which are also SDK-specific for the time being.

github-actions[bot] commented 1 week ago

🌿 Preview your docs: https://fern-preview-8114f879-3c65-442f-b42f-3e8cf4f7d61c.docs.buildwithfern.com/learn