Repository navigation
Description
Summary
The published API reference omits GET /2/search/users for both FxTwitter and FxBluesky, plus GET /2/typeahead for FxBluesky. These operations appear in the production APIs' runtime OpenAPI specifications and current route registrations, but the committed specifications used to generate the reference do not include them. Developers browsing the reference therefore cannot discover these operations or read their parameters and response schemas there.
Runtime or environment
- Source baseline: default branch
main, commit4aae23e3162b9ae16b74522c9df055e16b1fecef; the repository currently publishes no tags or GitHub releases. - Production runtime specifications: FxTwitter and FxBluesky, both reporting
info.versionas2.0.0. Both returned HTTP 200 and a build header matching the source baseline's short commit identifier. - Published documentation: API Overview and its generated API Reference navigation.
Steps to reproduce
- Check out the source baseline and run the following commands from its repository root in Bash with
curlandjqavailable. These comparisons were executed against production; no worker installation or API credentials are needed.
comm -13 \
<(jq -r '.paths | keys[]' docs/specs/fxtwitter-openapi.json | sort) \
<(curl -fsSL -A 'FxEmbed-Docs-Check/1.0' https://api.fxtwitter.com/2/openapi.json | jq -r '.paths | keys[]' | sort)
comm -13 \
<(jq -r '.paths | keys[]' docs/specs/fxbluesky-openapi.json | sort) \
<(curl -fsSL -A 'FxEmbed-Docs-Check/1.0' https://api.fxbsky.app/2/openapi.json | jq -r '.paths | keys[]' | sort)- Open the published API Overview and expand the FxTwitter and FxBluesky Operations groups. Neither lists user search, and only FxTwitter lists typeahead.
- Inspect
docs/astro.config.mjs: the reference generator loads the two committed files underdocs/specs/, rather than the live specifications.
Expected behavior
The API Reference should document the operations registered and published by each corresponding production v2 API, including user search on both platforms and Bluesky typeahead. The reference's generated operation list should include those operations with their request and response details.
Actual behavior
The first comparison prints /2/search/users. The second prints /2/search/users and /2/typeahead.
| API | Committed paths | Runtime paths | Paths missing from reference input |
|---|---|---|---|
| FxTwitter | 15 | 16 | /2/search/users |
| FxBluesky | 13 | 15 | /2/search/users, /2/typeahead |
The published navigation contains 15 FxTwitter operation links and 13 FxBluesky operation links, with the same omissions. As a control, FxTwitter typeahead exists in both its committed spec and published navigation. This was a documentation/specification comparison; the omitted operations' data responses were not tested.
Evidence
- Expected source: The published API Overview directs developers to these platform-specific references and runtime specifications; the docs configuration connects each reference to its committed specification. The FxTwitter registration and FxBluesky registrations include the omitted operations.
- Failure source: The executed path-set comparisons above and inspection of the published reference navigation, against the FxTwitter snapshot and the FxBluesky snapshot.
- Evidence provenance: observed
- Local verification: reproduced
- Reproduction completeness: complete
Git history shows all three omitted operations arrived in the user-search and Bluesky-typeahead change, after the most recent change to both committed snapshots, which adjusted mosaic schema requirements. The documented refresh command is cd docs && npm run extract-openapi. No open PR changes either specification snapshot; the pending Atmosphere documentation PR addresses a different API surface.
Restoration check
Repeat the path-set comparisons and inspect the deployed reference. The three omitted operations should be represented in the committed reference inputs and published as usable operation pages with their parameters and response schemas. Preserve the existing operations, including FxTwitter typeahead; removing routes from the runtime spec or merely hiding the mismatch would not restore the reference.
References
- OpenAPI Support, closed #1735 established the earlier specification/documentation capability. This report concerns omissions from the current generated reference, rather than absence of OpenAPI support.
- Open #507 concerns missing fields in the legacy wiki API documentation, a different contract and closure condition.
- Open documentation PR #2527 documents Atmosphere and deployment setup; its changed files do not include either platform specification snapshot.
Triage assessment
- Impact level: P2
- Assessment status: supported
- Impact basis: Developers using the generated reference cannot discover three published operations or inspect their contracts there. The gap is bounded to reference coverage; no API outage or failed data response is claimed.
- Workaround status: available
- Workaround basis: Both production runtime OpenAPI documents returned HTTP 200 and contain the missing operations' definitions, allowing developers to inspect those definitions directly.
Activity