For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
预约演示登录免费开始
  • 使用 SDK
    • SDK 概述
    • SDK 如何工作
    • Quickstart
    • Customer showcase
  • 使用 SDK
    • 项目结构
    • 添加自定义代码
    • Migrating to Replay
    • 功能特性
  • 参考
      • Generating an SDK
      • 发布到 RubyGems
      • Ruby 配置
      • 添加自定义代码
      • 变更日志
      • Customer showcase
  • 资源
    • generators.yml
Checking status...
SOC2Soc 2 Type II
© 2026 Fern • Birch Solutions, Inc., a Postman company

Documentation

SDKsDocsAsk FernCLI Reference

API Definitions

OpenAPIAsyncAPIOpenRPCgRPC

Resources

BlogSupportPricing

Company

Brand KitPrivacy PolicyTerms of Service
LogoLogo
预约演示登录免费开始
参考Ruby

Changelog

April 29, 2026
April 29, 2026

1.11.1

(fix): 从生成的注释行中去除尾随空格,使受规范控制的 docstring 在 #15202 中移除 rubocop -A 自动修正过程后不再触发 Layout/TrailingWhitespace。在 Square 夜间基线基准测试中发现。

1.11.0

(feat): 添加 retryStatusCodes 配置选项("legacy" | "recommended")。Legacy(默认)保留现有行为(408、429、500、502、503、504、521、522、524)。Recommended 仅重试瞬态代码(408、429、502、503、504),排除 500 Internal Server Error,以避免对非幂等失败进行重试。

1.10.0

(fix): 修复 TypeLiteral 字符串发射器中的 Ruby 字符串插值注入漏洞。包含 #{} 的不受信任的 API 规范默认值现在在生成的双引号 Ruby 字符串中得到正确转义。

(feat): 在发射器层级生成完全符合 rubocop 规范的代码,消除生成输出中所有剩余的 rubocop 违规,使生成时不再需要 rubocop -A。涵盖 Style/IfUnlessModifier(在 ruby.IfElse AST 中添加修饰符形式检测)、Style/RedundantInterpolation(用于单插值 URL 路径和标头值的裸 .to_s)、Lint/DuplicateHashKey(在 TypeLiteral 哈希发射中按键去重,并在动态代码片段关键字参数中按名称去重)以及 Layout/FirstHashElementIndentation / Layout/FirstArgumentIndentation(EnforcedStyle: consistent + 正确的线路测试分页延续缩进)。Rubocop 作为 CI 回归门禁运行(仅检查,无 -A)。

此页面是否有帮助?
编辑此页面
上一个

May 4, 2026

下一个

April 27, 2026