create-payload-api-docs
v1.4.0
Published
Create openapi docs for your payload cms
Downloads
21
Readme
create-payload-api-docs
CLI for generating openAPI 3 documentation for your payload cms.
Alternatives:
- payload-openapi: to programmatically generate the openapi documentation
- payload-swagger: easy to use swagger payload plugin
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