API 设计套件
API 风格指南,REST(OpenAPI 3.2)、事件、GraphQL 与 gRPC 规范,版本与弃用策略,以及参考与开发者文档。
10 个模板,按使用顺序分为 3 步。在编辑器中打开任一模板,填写后可导出为 PDF、DOCX 或 HTML。
标准规范
API Design Guidelines Template (Company Style Guide)
完整Company API style guide: naming, methods, status codes, RFC 9457 errors, pagination, versioning, security, webhooks, governance
RFC 9110, RFC 9457; OpenAPI 3.2.1; IETF RateLimit header fields (draft-11)API Versioning and Deprecation Policy Template
标准API lifecycle policy: versioning scheme, compatibility promises, breaking changes, timelines, Deprecation and Sunset headers
RFC 9745 (Deprecation header), RFC 8594 (Sunset header)
规范说明
REST API Specification Template (OpenAPI 3.2, RFC 9457)
完整HTTP/JSON API contract: auth, conventions, QUERY, streaming, pagination, RFC 9457 errors, endpoints, webhooks, OpenAPI 3.2 skeleton
OpenAPI 3.2.1, RFC 9110, RFC 9457Event-Driven API Specification Template (AsyncAPI 3)
完整Async event contract: brokers, channels, operations, CloudEvents envelope, ordering, delivery, DLQ, schema evolution, AsyncAPI YAML
AsyncAPI 3.1.0, CloudEvents 1.0.2GraphQL Schema Specification Template
完整GraphQL API spec: types, queries, mutations, subscriptions, connections, nullability, errors, auth, cost limits, federation
GraphQL specification (September 2025 edition)gRPC Service Specification Template (Protocol Buffers)
标准gRPC service spec: .proto contract, package versioning, field compatibility, google.rpc errors, deadlines, retries, streaming
gRPC status codes, deadlines and retry guides; Protobuf Editions 2023/2024; Google AIP-193Interface Control Document (ICD) Template
完整ICD between two systems – parties, requirements allocation, data element table, protocol sequence, errors, security, timing, change control
ISO/IEC/IEEE 15289:2019 (cited); DI-SESS-81248B ICD and DI-IPSC-81436A IDD
编写文档
REST Endpoint Reference Template
标准One REST endpoint: auth, parameter tables, request example, responses per status, RFC 9457 errors, limits, idempotency, paging, deprecation headers
OpenAPI 3.2.1 (or 3.1.x), Arazzo 1.1.0, Overlay 1.2.0, RFC 9457, RFC 9745, RFC 8594API Overview and Getting Started Template
标准API landing page: what it does, OpenAPI and Arazzo descriptions, base URLs, auth in 3 steps, first request, key resources, errors, limits, next steps
OpenAPI 3.2.1 (or 3.1.x); Arazzo 1.1.0; Overlay 1.2.0Developer and SDK Guide Template
完整Developer guide: setup, auth, multi-language quick start, errors, pagination, rate limits, webhooks, sandbox, OpenAPI/Arazzo/Overlay descriptions, versioning
OpenAPI 3.2.1 (or 3.1.x); Arazzo 1.1.0; Overlay 1.2.0; RFC 9745, RFC 8594