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
The following restructures have helped resolve some issues with our OpenAPI schemas but as a side-effect this has resulted in a break to our API client interface as different types are now being generated.
8
+
9
+
- refactor: general restructure OpenAPI schemas.
10
+
- refactor(domain): remove explicit schema type for 'any'.
11
+
12
+
**Bug fixes:**
13
+
14
+
- fix: change response `version` type to string.
15
+
- fix(cache_settings): change response `stale_ttl` and `ttl` types to strings.
16
+
- fix(header): change response `ignore_if_set` and `priority` types to strings.
17
+
- fix(logging): change response `period` and `gzip_level` types to strings.
18
+
- fix(pool): change response `use_tls`, `max_conn_default`, `first_byte_timeout`, `quorum` and `tls_check_cert` types to strings.
19
+
- fix(request_settings): change response `bypass_busy_wait`, `force_miss`, `force_ssl`, `geo_headers`, `max_stale_age` and `timer_support` types to strings.
20
+
- fix(response_object): change response `status` type to string.
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ A Rust client library for interacting with most facets of the [Fastly API](https
4
4
5
5
> **NOTE:** This API client is auto-generated from Fastly's OpenAPI specification and may not function correctly when used on the Compute@Edge platform. Support for Compute@Edge is on the roadmap but has not yet been prioritised.
6
6
7
+
7
8
## Requirements
8
9
9
10
Rust 2021 Edition
@@ -13,7 +14,7 @@ Rust 2021 Edition
13
14
Add the following to `Cargo.toml` under `[dependencies]`:
Copy file name to clipboardExpand all lines: docs/CacheSetting.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
**action** | Option<**String**> | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. |
8
8
**cache_condition** | Option<**String**> | Name of the cache condition controlling when this configuration applies. |
9
9
**name** | Option<**String**> | Name for the cache settings object. |
10
-
**stale_ttl** | Option<**i32**> | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). |
11
-
**ttl** | Option<**i32**> | Maximum time to consider the object fresh in the cache (the cache 'time to live'). |
10
+
**stale_ttl** | Option<**String**> | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). |
11
+
**ttl** | Option<**String**> | Maximum time to consider the object fresh in the cache (the cache 'time to live'). |
12
12
13
13
[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/CacheSettingResponse.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,10 @@ Name | Type | Description | Notes
7
7
**action** | Option<**String**> | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. |
8
8
**cache_condition** | Option<**String**> | Name of the cache condition controlling when this configuration applies. |
9
9
**name** | Option<**String**> | Name for the cache settings object. |
10
-
**stale_ttl** | Option<**i32**> | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). |
11
-
**ttl** | Option<**i32**> | Maximum time to consider the object fresh in the cache (the cache 'time to live'). |
10
+
**stale_ttl** | Option<**String**> | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). |
11
+
**ttl** | Option<**String**> | Maximum time to consider the object fresh in the cache (the cache 'time to live'). |
Copy file name to clipboardExpand all lines: docs/CacheSettingsApi.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ Name | Type | Description | Required | Notes
34
34
**action** | Option\<**String**> | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. | |
35
35
**cache_condition** | Option\<**String**> | Name of the cache condition controlling when this configuration applies. | |
36
36
**name** | Option\<**String**> | Name for the cache settings object. | |
37
-
**stale_ttl** | Option\<**i32**> | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). | |
38
-
**ttl** | Option\<**i32**> | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | |
37
+
**stale_ttl** | Option\<**String**> | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). | |
38
+
**ttl** | Option\<**String**> | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | |
39
39
40
40
### Return type
41
41
@@ -186,8 +186,8 @@ Name | Type | Description | Required | Notes
186
186
**action** | Option\<**String**> | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. | |
187
187
**cache_condition** | Option\<**String**> | Name of the cache condition controlling when this configuration applies. | |
188
188
**name** | Option\<**String**> | Name for the cache settings object. | |
189
-
**stale_ttl** | Option\<**i32**> | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). | |
190
-
**ttl** | Option\<**i32**> | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | |
189
+
**stale_ttl** | Option\<**String**> | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). | |
190
+
**ttl** | Option\<**String**> | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | |
0 commit comments