Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.74 KB

File metadata and controls

42 lines (27 loc) · 1.74 KB

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