Skip to content

Commit 9932c37

Browse files
committed
Sync open source content 🐝 (from 91a1868c3503c6bdd558cc1574d87105e30441c3)
1 parent 5b90826 commit 9932c37

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

β€Ždocs/customize/data-model/enums.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class EnumField(str, Enum):
126126
## Open vs closed enums
127127

128128
<Callout title="Note" type="info">
129-
This feature is currently supported in Go, Python, TypeScript, and Java SDKs.
129+
This feature is currently supported in Go, Python, TypeScript, Java and C# SDKs.
130130
</Callout>
131131

132132
By default, enums defined in OpenAPI are considered closed during code

β€Ždocs/speakeasy-reference/extensions.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { Table } from "@/mdx/components";
1313
{ extension: "x-speakeasy-name-override", description: "Use it globally to change method names or inline to change the name of a method, parameter, or class." },
1414
{ extension: "x-speakeasy-group", description: "Defines custom namespaces when adding this property to any operation in the OpenAPI spec. If added, the tags for that method will be ignored" },
1515
{ extension: "x-speakeasy-ignore", description: "Exclude certain methods from your SDK with this extension." },
16+
{ extension: "x-speakeasy-include", description: "Can be used to force the generation of an unused or orphaned schema from the `components` section inside the main document." },
1617
{ extension: "x-speakeasy-enums", description: "Use this extension to control generated enum members by providing alternative names for each value in the enum field." },
1718
{ extension: "x-speakeasy-enum-format", description: "Customize how the enum type is generated for the schema, either `enum` for a native enum type or `union` for a union of values." },
1819
{ extension: "x-speakeasy-retries", description: "Enable retries globally or on a per-request basis. A backoff strategy is applied to specified status codes." },

0 commit comments

Comments
Β (0)