Skip to content

Add OpenAPI docs generation#123

Draft
KayleeWilliams wants to merge 1 commit into
mainfrom
feat/openapi-docs-generation
Draft

Add OpenAPI docs generation#123
KayleeWilliams wants to merge 1 commit into
mainfrom
feat/openapi-docs-generation

Conversation

@KayleeWilliams

Copy link
Copy Markdown
Collaborator

Summary

  • Add native OpenAPI YAML/JSON to MDX API reference generation for leadtype docs builds.
  • Wire generated API pages into nav, search, llms/package docs, markdown flattening, and exported API component prop types.
  • Dogfood the feature in the Fumadocs example with a generated Leadtype REST API page and renderer components.
  • Document the authoring flow and add a changeset for the leadtype package.

Checks

  • bun run --filter leadtype check-types
  • bun run --filter leadtype lint
  • bun run --filter leadtype test -- src/openapi/openapi.test.ts src/internal/package-surface.test.ts
  • bun run --filter leadtype build
  • bun run --filter fumadocs-example check-types

Note: the full leadtype test hook still sees unrelated untracked docs under docs/authoring with existing missing-link lint failures, so the commit was created after the scoped checks above passed.

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 759fb4f1-514b-46af-a365-15ec077cb223

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/openapi-docs-generation

Comment @coderabbitai help to get the list of available commands.

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