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
Copy file name to clipboardExpand all lines: fern/products/api-def/openapi-pages/extensions/retries.mdx
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ subtitle: Configure retry behavior for endpoints using `x-fern-retries` extensio
7
7
The `x-fern-retries` extension is supported in Python SDKs only.
8
8
</Callout>
9
9
10
-
The `x-fern-retries` extension allows you to configure retry behavior at the endpoint level in your OpenAPI specification. This gives you fine-grained control over how the generated SDK handles retries for specific endpoints, overriding any default retry configuration that end users may have set.
10
+
The `x-fern-retries` extension allows you to configure retry behavior at the endpoint level in your OpenAPI specification. This gives you fine-grained control over how the generated SDK handles retries for specific endpoints, overriding any user-defined or default retry configuration.
11
11
12
12
## Disable retries
13
13
@@ -28,7 +28,7 @@ paths:
28
28
type: string
29
29
```
30
30
31
-
When retries are disabled at the endpoint level, the generated SDK won't retry failed requests to that endpoint, regardless of the end user's SDK configuration.
31
+
When retries are disabled at the endpoint level, the generated SDK won't retry failed requests to that endpoint, regardless of the SDK's user custom configuration.
32
32
33
33
## Use cases
34
34
@@ -64,5 +64,3 @@ paths:
64
64
'201':
65
65
description: Plant created successfully
66
66
```
67
-
68
-
With this configuration, the generated Python SDK will enforce no retries on the `create_plant` method, regardless of the end user's retry configuration.
0 commit comments