payload-oapi
A Payload CMS plugin for OpenAPI (3.0, 3.1) specification generation
File Explorer
Download Latest Version (.zip)- check.yml
- release.yml
- not-found.tsx
- page.tsx
- importMap.js
- route.ts
- route.ts
- route.ts
- custom.scss
- layout.tsx
- route.ts
- config.ts
- Pages.ts
- Pets.ts
- Posts.ts
- Users.ts
- FeaturedPet.ts
- credentials.ts
- NextRESTClient.ts
- testEmailAdapter.ts
- .env.example
- docker-compose.yml
- next-env.d.ts
- next.config.mjs
- payload-types.ts
- payload.config.ts
- seed.ts
- server.ts
- tsconfig.json
- generators.ts
- naming.ts
- securitySchemes.ts
- fields.ts
- filters.ts
- objects.ts
- strings.ts
- index.ts
- openapiPlugin.ts
- rapidocPlugin.ts
- redocPlugin.ts
- requestHandlers.ts
- scalarPlugin.ts
- swaggerUIPlugin.ts
- types.ts
- openapi-generators.test.ts.snap
- openapi-generators.test.ts
- tsconfig.json
- .editorconfig
- .gitignore
- biome.json
- CHANGELOG.md
- cliff.toml
- LICENSE.md
- package.json
- README.md
- tsconfig.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/janbuchar/payload-oapi
Downloads the entire project code from GitHub to your computer.
cd payload-oapi
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f dev/docker-compose.yml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
