Skip to content
This repository was archived by the owner on Jul 15, 2026. It is now read-only.
 
 

Repository files navigation

@amboss/payload-3-openapi

A plugin for Payload CMS that generates OpenAPI documentation for your API endpoints.

Installation

pnpm add -D github:amboss-mededu/payload-3-openapi-tools

Usage

  1. Add the following script to your package.json:
{
    "scripts": {
        "generate:openapi-docs": "tsx node_modules/@amboss/payload-3-openapi/dist/create-api-docs/index.js $(pwd)/path/to/your/payload.config.ts"
    }
}
  1. Run the script to generate OpenAPI documentation:
pnpm generate:openapi-docs

This will generate OpenAPI documentation based on your Payload CMS configuration file.

License

MIT

About

Tool to create an openApi spec for payload 3

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages