Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Add support for "changelog" in the "info" object

未關閉
#2,409 7 則留言 5 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
領域
api, documentation

研究方向

先找出 OpenAPI info 物件的定義,以及描述其選用欄位的文件或範例。檢視留言記錄,以確認是否同意新增 changelog;完成的條件是必須有一項已接受的規格變更,定義該選用屬性及其預期值。

由索引模型根據 Issue 內容生成。

描述

metadata

When maintaining an API specification, it would be really nice to offer a changelog for the API consumer. This can be as simple as a link to a changelog.

Possible Solution

The info object seems to be the most suitable place that such a parameter could be located (as an optional parameter).
Example:

info:
    version: 1.1.0
    title: My API Specification
    changelog: https://acme.com/docs/api/v1/changelog.md

Nb: I know that this is currently possible via x- extension, yet not all tools seem to accept extensions.

主要語言
Markdown
星號
31.3k
分支
9.2k
平均合併
2 天 3 小時
30 天內合併 PR
8

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

OAI/OpenAPI-Specification 的其他 Issue

查看 OAI/OpenAPI-Specification 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。