Skip to content

Commit 18e0584

Browse files
Update retries.mdx
1 parent e6c6306 commit 18e0584

File tree

1 file changed

+2
-4
lines changed
  • fern/products/api-def/openapi-pages/extensions

1 file changed

+2
-4
lines changed

fern/products/api-def/openapi-pages/extensions/retries.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ subtitle: Configure retry behavior for endpoints using `x-fern-retries` extensio
77
The `x-fern-retries` extension is supported in Python SDKs only.
88
</Callout>
99

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.
1111

1212
## Disable retries
1313

@@ -28,7 +28,7 @@ paths:
2828
type: string
2929
```
3030
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.
3232
3333
## Use cases
3434
@@ -64,5 +64,3 @@ paths:
6464
'201':
6565
description: Plant created successfully
6666
```
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

Comments
 (0)