Skip to content

docs: generate public API reference from OpenAPI spec#8

Open
nbouliol wants to merge 2 commits into
mainfrom
chore/open-api
Open

docs: generate public API reference from OpenAPI spec#8
nbouliol wants to merge 2 commits into
mainfrom
chore/open-api

Conversation

@nbouliol

@nbouliol nbouliol commented Jul 1, 2026

Copy link
Copy Markdown
Member

What

Renders the Public API reference from the OpenAPI spec instead of hand-written tables.

  • Add reference/api/openapi.json (generated by packages/public-api in forestadmin-server).
  • Convert activity-logs, admin-logs and notes endpoint pages to openapi frontmatter — params, schemas, responses and the "Try it" playground are now generated from the spec. The auth <Warning> blocks are kept.

Notes

  • Going forward, this openapi.json is updated automatically via a PR from forestadmin-server (see forestadmin-server#8348).

🤖 Generated with Claude Code

Note

Generate public API reference pages from OpenAPI spec

  • Replaces hand-written endpoint docs in activity-logs.mdx, admin-logs.mdx, and notes.mdx with openapi: front-matter references that render docs directly from the spec.
  • Adds openapi.json, a new OpenAPI 3.0 spec covering the public API with info, servers, security schemes, and schemas.
  • Inline content (request examples, parameter tables, response fields, auth sections) is removed from the MDX files; existing Warning and Note blocks are preserved.

Macroscope summarized 4c6d826.

Add reference/api/openapi.json and render activity-logs, admin-logs and
notes from it via openapi frontmatter (keeps the auth warnings, drops the
hand-written param/response tables).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment thread reference/api/endpoints/notes.mdx
@mintlify

mintlify Bot commented Jul 1, 2026

Copy link
Copy Markdown

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

Project Status Preview Updated (UTC)
forest 🟢 Ready View Preview Jul 1, 2026, 4:26 PM

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

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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