diff --git a/fern/snippets/openapi-specs.mdx b/fern/snippets/openapi-specs.mdx index e488336e6..7bb11b54b 100644 --- a/fern/snippets/openapi-specs.mdx +++ b/fern/snippets/openapi-specs.mdx @@ -37,7 +37,7 @@ api: OpenAPI-specific generation settings. - + Whether to use the titles of schemas within an OpenAPI definition as the names of types within Fern. @@ -106,3 +106,14 @@ api: Controls the maximum depth for which optional properties will have examples generated in responses. + + + Controls whether enums are converted to literal types during code generation. When set to `false`, enums are preserved as enums rather than being converted to literal types. This is useful when you want to maintain the original enum structure from your OpenAPI specification. + + + + Controls the naming convention for autogenerated request names. When enabled, places the verb before the noun in request names (e.g., `UsersListRequest` becomes `ListUsersRequest`), following more idiomatic naming patterns. + + Disabled by default to maintain backwards compatibility. + +