Skip to content

fix(docs): scope worlds-api pages to their own directory to stop slug collisions - #101

Merged
EthanThatOneKid merged 1 commit into
mainfrom
fix-api-reference-collisions
Aug 5, 2026
Merged

fix(docs): scope worlds-api pages to their own directory to stop slug collisions#101
EthanThatOneKid merged 1 commit into
mainfrom
fix-api-reference-collisions

Conversation

@EthanThatOneKid

Copy link
Copy Markdown
Contributor

Problem

After the x-mint title deploy (wazoo-api commit 317812e, worlds-api PR #16), both OpenAPI specs share identical operation titles ("List worlds", "Get world", "Update world", "Delete world", "Undelete world", "Get health"). Mintlify generates slugs from those titles, so the two specs' pages collided on /api-reference/worlds/* — and the 5 wazoo-api platform CRUD pages silently dropped (the Worlds API group won the slug race).

Verified empirically: the dev server resolved the Platform API group's GET /v1/worlds entries to worlds-api operations.

Fix

  • Scope the Worlds API group to its own directory: "worlds-api" — Mintlify's documented approach for multiple specs with colliding titles. wazoo-api pages stay at /api-reference/* (URLs unchanged), worlds-api moves to /worlds-api/*.
  • Restore all 16 worlds-api ops in the group's pages list — including the three that had no page at all: DELETE /api-keys/{keyId} (Revoke API key), POST /worlds/sparql (SPARQL without world), POST /worlds/{id}/reindex (Reindex).
  • Redirects for the 6 worlds-api pages that move (apikeys/importexport/search/sparql — the colliding /api-reference/worlds/* slugs now belong to wazoo-api, so they must NOT be redirected).
  • Checker update: sitemap filter now covers both /api-reference/ and /worlds-api/; "operations missing from docs" is informational (9 wazoo-api billing/limits/usage/token-admin ops are intentionally not in the nav).

Verified

  • mintlify validate ✅, prettier --check docs.json
  • Dev server: all pages resolve, titles correct ("Revoke API key", "List worlds" under both specs), redirects follow
  • Checker against production: exit 0, no title findings

Post-merge

Merging triggers the Mintlify redeploy. After that the checker should show: wazoo-api 14 pages, worlds-api 16 pages, zero findings, zero unintended missing ops.

… collisions

Both OpenAPI specs now share identical x-mint titles (List worlds, Get world,
...), so Mintlify generated colliding /api-reference slugs and the Platform
API group's five worlds CRUD pages were silently dropped. Scope the Worlds API
group to directory "worlds-api" (Mintlify's documented fix), restoring all 14
wazoo-api pages and giving worlds-api 16 distinct pages including the three
previously missing ops (revoke-api-key, sparql-without-world, reindex).

Also: widen the title checker's sitemap filter to cover /worlds-api pages, add
redirects for the six worlds-api pages that move, and make "operations missing
from docs" informational (9 wazoo-api billing/limits/usage/token-admin ops are
intentionally not in the nav).
@EthanThatOneKid
EthanThatOneKid merged commit ed3aa3b into main Aug 5, 2026
4 checks passed
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