Skip to content

docs(openapi): enrich incident/info + channel/list per fc-event#1674#89

Merged
ysyneu merged 1 commit into
mainfrom
feat/openapi-enrich-1674
Jun 16, 2026
Merged

docs(openapi): enrich incident/info + channel/list per fc-event#1674#89
ysyneu merged 1 commit into
mainfrom
feat/openapi-enrich-1674

Conversation

@ysyneu

@ysyneu ysyneu commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Propagate the three public-API field additions from fc-event#1674 into the OpenAPI specs. Head of the docs → SDK → CLI chain.

Changes (per-module on-call.openapi.{en,zh}.json + consolidated openapi.{en,zh}.json)

  • IncidentInfoRequest — relax incident_id to optional, add num (the 6-char short id shown in the UI; supply either incident_id or num). Mirrors the handler binding:"required"omitempty + new Num field.
  • ChannelItem — add team_name + creator_name (resolved from the team/member directories; empty when unavailable).

Surgical field-level edits, format byte-preserved (every file round-trips under json.dumps(ensure_ascii=False, indent=2)), so the diff is only the 3 fields × 4 files (+52 / −16, the deletions being the incident_id required array). All 4 files re-validate; path/schema counts unchanged.

Chain (merge in order)

  1. this PR → docs main
  2. go-flashduty: make sync-spec + make generate → main (then release/tag)
  3. flashduty-cli: bump go.mod to released go-flashduty + cligen optional-positional + regen → feat/ai-sre

Propagate the three public-API field additions from fc-event#1674 into the
OpenAPI specs (per-module on-call.openapi.* and consolidated openapi.*, en+zh):

- IncidentInfoRequest: relax incident_id to optional, add `num` — the 6-char
  short id shown in the UI; supply either incident_id or num.
- ChannelItem: add team_name and creator_name (resolved from the team/member
  directories; empty when unavailable).
@mintlify

mintlify Bot commented Jun 16, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
flashduty 🟢 Ready View Preview Jun 16, 2026, 4:17 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@ysyneu ysyneu merged commit 2a3069f into main Jun 16, 2026
1 check passed
@ysyneu ysyneu deleted the feat/openapi-enrich-1674 branch June 16, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant