teunmooij

create api docs

by teunmooij
payload-tools
APIs & SDKs
v1
^1.9.0
MIT

Overview

Summary generated from the README

A command line tool that generates OpenAPI 3 documentation for a Payload project. Run it with npx from the repository root, or install it as a dev dependency for build pipelines. It uses the payload-openapi package for generation, so further options follow that package. Targets Payload 1.9 and later within the 1.x line.

Features

  • Generates OpenAPI 3 documentation from the Payload project
  • Runs through npx from the repository root
  • Supports command line options, listed with the help flag
  • Can be added as a dev dependency for build pipelines
  • Builds on payload-openapi for configuration options

Use cases

  • Produce an OpenAPI spec for a Payload 1.x API during a build step
  • Share API documentation with frontend teams or external consumers

From the author

Create openapi docs for your payload cms

Installation

npm i create-payload-api-docs

143

Stars

15

Forks

13

Open Issues

2 years ago

Last Updated

50

Weekly Downloads

v1.4.0

npm Version

13.6 KB

Unpacked Size

7

Dependencies

Repository stars

143+2 since Sep 6

Show data
Repository stars by day (UTC)
DateStars
Dec 5, 2026143
Dec 4, 2026143
Dec 3, 2026143
Dec 2, 2026143
Dec 1, 2026143
Nov 30, 2026143
Nov 29, 2026143
Nov 28, 2026143
Nov 27, 2026143
Nov 26, 2026143
Nov 25, 2026143
Nov 24, 2026143
Nov 23, 2026143
Nov 22, 2026143
Nov 21, 2026143
Nov 20, 2026143
Nov 19, 2026143
Nov 18, 2026143
Nov 17, 2026143
Nov 16, 2026143
Nov 15, 2026143
Nov 14, 2026143
Nov 13, 2026143
Nov 12, 2026143
Nov 11, 2026143
Nov 10, 2026143
Nov 9, 2026143
Nov 8, 2026143
Nov 7, 2026142
Nov 6, 2026142
Nov 5, 2026142
Nov 4, 2026142
Nov 3, 2026142
Nov 2, 2026142
Nov 1, 2026142
Oct 31, 2026142
Oct 30, 2026142
Oct 29, 2026142
Oct 28, 2026142
Oct 27, 2026142
Oct 26, 2026142
Oct 25, 2026142
Oct 24, 2026142
Oct 23, 2026142
Oct 22, 2026142
Oct 21, 2026142
Oct 20, 2026142
Oct 19, 2026142
Oct 18, 2026142
Oct 17, 2026142
Oct 16, 2026142
Oct 15, 2026142
Oct 14, 2026142
Oct 13, 2026142
Oct 12, 2026142
Oct 11, 2026142
Oct 10, 2026142
Oct 9, 2026142
Oct 8, 2026142
Oct 7, 2026142
Oct 6, 2026142
Oct 5, 2026142
Oct 4, 2026142
Oct 3, 2026142
Oct 2, 2026142
Oct 1, 2026142
Sep 30, 2026142
Sep 29, 2026142
Sep 28, 2026142
Sep 27, 2026142
Sep 26, 2026142
Sep 25, 2026142
Sep 24, 2026142
Sep 23, 2026142
Sep 22, 2026142
Sep 21, 2026142
Sep 20, 2026142
Sep 19, 2026142
Sep 18, 2026142
Sep 17, 2026142
Sep 16, 2026141
Sep 15, 2026141
Sep 14, 2026141
Sep 13, 2026141
Sep 12, 2026141
Sep 11, 2026141
Sep 10, 2026141
Sep 9, 2026141
Sep 8, 2026141
Sep 7, 2026141
Sep 6, 2026141

Shared by 5 plugins in teunmooij/payload-tools.

npm weekly downloads

37+13 since Sep 6

Show data
npm weekly downloads by day (UTC)
DateWeekly downloads
Dec 5, 202637
Dec 4, 202617
Dec 3, 202611
Dec 2, 202610
Dec 1, 202617
Nov 30, 202619
Nov 29, 202629
Nov 28, 202630
Nov 27, 202629
Nov 26, 202640
Nov 25, 202653
Nov 24, 202648
Nov 23, 202648
Nov 22, 202641
Nov 21, 202644
Nov 20, 202646
Nov 19, 202635
Nov 18, 202634
Nov 17, 202634
Nov 16, 202633
Nov 15, 202648
Nov 14, 202642
Nov 13, 202650
Nov 12, 202675
Nov 11, 202664
Nov 10, 202696
Nov 9, 2026111
Nov 8, 2026104
Nov 7, 2026114
Nov 6, 2026112
Nov 5, 202690
Nov 4, 202694
Nov 3, 202664
Nov 2, 202650
Nov 1, 202639
Oct 31, 202632
Oct 30, 202625
Oct 29, 202620
Oct 28, 202614
Oct 27, 202621
Oct 26, 202620
Oct 25, 202624
Oct 24, 202621
Oct 23, 202618
Oct 22, 202628
Oct 21, 202634
Oct 20, 202623
Oct 19, 202622
Oct 18, 202617
Oct 17, 202620
Oct 16, 202627
Oct 15, 202617
Oct 14, 202613
Oct 13, 202613
Oct 12, 202613
Oct 11, 202613
Oct 10, 202610
Oct 9, 20264
Oct 8, 20265
Oct 7, 20269
Oct 6, 20269
Oct 5, 202612
Oct 4, 202614
Oct 3, 202615
Oct 2, 202614
Oct 1, 202613
Sep 30, 202610
Sep 29, 202610
Sep 28, 20267
Sep 27, 20264
Sep 26, 202613
Sep 25, 202613
Sep 24, 202613
Sep 23, 202615
Sep 22, 202617
Sep 21, 202627
Sep 20, 202627
Sep 19, 202620
Sep 18, 202623
Sep 17, 202626
Sep 16, 202628
Sep 15, 202629
Sep 14, 202619
Sep 13, 202630
Sep 12, 202627
Sep 11, 202632
Sep 10, 202641
Sep 9, 202636
Sep 8, 202634
Sep 7, 202635
Sep 6, 202624

Each point is npm's rolling 7-day download count.

Health Score

43/100Fair

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/611765581-create-api-docs.svg)](https://payloaddirectory.dev/plugins/611765581-create-api-docs)
HTML
<a href="https://payloaddirectory.dev/plugins/611765581-create-api-docs"><img src="https://payloaddirectory.dev/badge/611765581-create-api-docs.svg" alt="Payload Directory"></a>
Updated Jul 17, 2024Created Mar 9, 2023Published Jul 15, 2023

README

author snyk downloads npm version license

create-payload-api-docs

CLI for generating openAPI 3 documentation for your payload cms.

Alternatives:

How to use

Run the following command from your payload repository root folder:

npx create-payload-api-docs

Or use the commandline option. To learn more:

npx create-payload-api-docs --help

If you intend to use this package in your build pipeline, it is recommended to add it to your repo as a dev dependency, to prevent duplicate dependency downloads.

npm i --save-dev create-payload-api-docs

More configuration options

create-payload-api-docs uses payload-openapi to generate the documentation. For more information about the available options, see payload-openapi documentation.

Version history

See changelog

Similar plugins