Skip to content

Commit 730e0f2

Browse files
authored
add warning note about HTTP TIMEOUT on actionHook Delay (#99)
also updated fern verison to 2.x which introduced some additional API spec data
1 parent ff6f192 commit 730e0f2

File tree

6 files changed

+55
-12
lines changed

6 files changed

+55
-12
lines changed

fern/apis/async/generators.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1-
api:
2-
specs:
3-
- openapi: ./call.yml
1+
api:
2+
specs:
3+
- openapi: ./call.yml
4+
settings:
5+
title-as-schema-name: true
6+
type-dates-as-strings: true
7+
object-query-parameters: false
8+
idiomatic-request-names: false
9+
respect-nullable-schemas: false
10+
wrap-references-to-nullable-in-optional: true
11+
coerce-optional-schemas-to-nullable: true
12+
inline-path-parameters: false
13+
coerce-enums-to-literals: true

fern/apis/calls/generators.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
api:
2-
specs:
2+
specs:
33
- openapi: ./calls.yaml
4-
5-
4+
settings:
5+
title-as-schema-name: true
6+
type-dates-as-strings: true
7+
object-query-parameters: false
8+
idiomatic-request-names: false
9+
respect-nullable-schemas: false
10+
wrap-references-to-nullable-in-optional: true
11+
coerce-optional-schemas-to-nullable: true
12+
inline-path-parameters: false
13+
coerce-enums-to-literals: true

fern/apis/platform/generators.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
api:
2-
specs:
2+
specs:
33
- openapi: ./platform.yaml
4-
4+
settings:
5+
title-as-schema-name: true
6+
type-dates-as-strings: true
7+
object-query-parameters: false
8+
idiomatic-request-names: false
9+
respect-nullable-schemas: false
10+
wrap-references-to-nullable-in-optional: true
11+
coerce-optional-schemas-to-nullable: true
12+
inline-path-parameters: false
13+
coerce-enums-to-literals: true

fern/apis/webhooks/generators.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
api:
2-
specs:
3-
- openapi: ./webhooks.yaml
2+
specs:
3+
- openapi: ./webhooks.yaml
4+
settings:
5+
title-as-schema-name: true
6+
type-dates-as-strings: true
7+
object-query-parameters: false
8+
idiomatic-request-names: false
9+
respect-nullable-schemas: false
10+
wrap-references-to-nullable-in-optional: true
11+
coerce-optional-schemas-to-nullable: true
12+
inline-path-parameters: false
13+
coerce-enums-to-literals: true

fern/docs/pages/features/handling-action-hook-delays.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ in either the gather or [config](/verbs/verbs/config) verbs.
4040
This count applies to each verb in the actions array, so if you have 2 actions and set retries to 3 it will play the first, then the 2nd, then the first again. If it is not set or is less than the length of the array then each verb in the array will run only once.
4141
Default: `1`.
4242
</ParamField>
43+
44+
<Warning>
45+
If you are using Webhooks as opposed to Websockets then the HTTP_TIMEOUT parameter of the system will limit the maximum length the `noResponseGiveUpTimeout` can be, as if no response is received within the HTTP TIMEOUT the webhook will fail.
46+
The Default value for HTTP_TIMEOUT on Jambonz.cloud is 10seconds.
47+
</Warning>
48+
4349
## Examples
4450
#### Providing filler noise
4551

fern/fern.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"organization": "jambonz",
3-
"version": "0.84.8"
4-
}
3+
"version": "2.15.0"
4+
}

0 commit comments

Comments
 (0)