Curated library of 20+ real-world API examples with request/response schemas and CI automation for docs generation. Read about the project workflow & design decisions!
Read the Contribution Guide here
-
Use of
$refto refere & split all the API spec instead of listing them all in one .yaml file. Gives reusability, efficiant maintanace. -
Containerized environment using Docker to serve the API documentation locally via Redoc and Swagger UI.
-
The project runs entirely in Docker without requiring to set-up any local dependencies like: Node.js, Python. simply install Docker
-
Anyyone can clone and preview the spec using a one-liner Docker command. (irrecspective of Operating system)
-
Bundling Workflow- this project comes with built-in automcation to bundle all the OpenAPI specs into a single
bundled.yamlfile (for CI/CD or publishing). -
Contribute to this project without the tension of accidentally committing your local/generate files. This project file
.gitignoreautomatically ignores committing such files.
-
Strengths: Version control, Developer-centric, CRUD operations on repos/issues.
-
Good Endpoints: GET
/users/{username} (Retrieve user details)POST/repos/{owner}/{repo}/issues (Create issue)
-
Strengths: Payment & Finance operations, Secure transaction examples.
-
Good Endpoints: POST
/customers (Create new customer)GET/charges/{id} (Retrieve payment details)
-
Strengths: Project management, agile methodology, issues, tickets.
-
Good Endpoints: GET
/issue/{issueIdOrKey} (Retrieve issue details)POST/issue (Create new issue)
-
Strengths: Documentation management, productivity, content structures.
-
Good Endpoints: POST
/pages (Create new page)GET/databases/{database_id}/query (Retrieve database content)
-
Strengths: Communication, messaging, webhooks.
-
Good Endpoints: POST
/chat.postMessage (Send a message)GET/conversations.history (Retrieve message history)
-
Ensure file paths in
$refare correct and relative. -
Docker port
8080must not be in use by another application. -
Validate the spec using Swagger Editor or redocly lint.
-
Avoid using backslashes (
\) on Windows in your YAML. Always use forward slashes (/), even on Windows. -
Check carefully for formatting while working with YAML files.
-
Try using
docker pull redocly/redocincase of an error like "Docker Image Not Found" -
Reach out to https://www.github.com/trivedi-khushi for any queries/concerns. 🙋♀️