Skip to content

Commit 2d1f345

Browse files
authored
(sdks) Update enableWireTests Go config option (#1133)
1 parent bf62f9c commit 2d1f345

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fern/products/sdks/guides/testing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Mock server tests are available for TypeScript, Go, Java, and Swift. Configure m
2424
| Language | Configuration | Default |
2525
|----------|---------------|---------|
2626
| TypeScript | [`generateWireTests`](/sdks/generators/typescript/configuration#generatewiretests) | true |
27-
| Go | [`enableWireTests`](/sdks/generators/go/configuration#enablewiretests) | false |
27+
| Go | [`enableWireTests`](/sdks/generators/go/configuration#enablewiretests) | true |
2828
| Java | [`enable-wire-tests`](/sdks/generators/java/configuration#enablewiretests) | false |
2929
| Swift | [`enableWireTests`](/sdks/generators/swift/configuration#enablewiretests) | true |
3030

fern/products/sdks/overview/go/configuration.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Specifies the name of the generated client struct. This determines the primary c
3636
Sets the name of the exported client that will be used in code snippets and documentation examples. This is useful for customizing how the client appears in generated documentation.
3737
</ParamField>
3838
39-
<ParamField path="enableWireTests" type="string" default="false" required={false} toc={true}>
40-
When enabled, generates [mock server (wire) tests](/sdks/deep-dives/testing#mock-server-tests) to verify that the SDK sends and receives HTTP requests as expected.
39+
<ParamField path="enableWireTests" type="string" default="true" required={false} toc={true}>
40+
Generates [mock server (wire) tests](/sdks/deep-dives/testing#mock-server-tests) to verify that the SDK sends the correct HTTP requests and correctly handles responses per the API spec. When enabled, Docker is required as a runtime dependency to run the generated tests.
4141
</ParamField>
4242
4343
<ParamField path="importPath" type="string" required={false} toc={true}>

0 commit comments

Comments
 (0)