OpenAPI

Generates an OpenAPI spec from your Payload config and serves it with Scalar or Swagger UI

Verified 18 811/wk MIT v0.2.3

Installation

pnpm add @seshuk/payload-plugin-openapi

About

OpenAPI builds a full API specification from your Payload config without annotating anything. Collections, globals, auth, versions, uploads, jobs and the REST endpoints of official Payload plugins are documented automatically. The spec is served as a JSON document alongside an interactive reference page.

Scalar or Swagger UI can render the reference page, and you can filter which collections and operations appear. Each operation is marked public or secured by checking your access functions. Teams can also write the spec to disk for CI checks, schema diffs or client code generation.

Package info

Package name
@seshuk/payload-plugin-openapi
Latest version
0.2.3
Unpacked size
469 kB
License
MIT
Weekly downloads
811
Last publish
Oct 8, 2026

More from maximseshuk

View profile

Finds orphaned files and unreferenced documents, then deletes only what you approve

Builds sitemap.xml files from Payload content and keeps them fresh

Stores Payload uploads and streams video on Bunny.net's global CDN

Previews images, video, audio, documents and code in the Payload admin panel

Similar plugins

More in Devtools

Chat agent that composes and edits Payload pages from your block library

Exposes Payload collections and globals to AI agents through the Model Context Protocol

Lets AI assistants read and edit Payload content over MCP with scoped API keys

Editorial suite that lets teams run a Payload site through MCP tools and AI assistants

Typed block registry and React Server Component renderer for Payload blocks

Runs Payload CMS admin and APIs under vinext, on Node or Cloudflare Workers