Starter Templates
Jumpstart your API gateway development process with our pre-built starter templates
Templates
API Linting
See how to use API linting to enforce api consistency and require Zuplo features like policies.
API Governance
Git Ops
Repository
zuplo/examples/api-lintingRun Locally
npx create-zuplo-api --example api-lintingZuplo Linting with Vacuum
How to lint a Zuplo API with Vacuum
This project uses both built-in and custom rules to lint the routes OpenAPI files in this project.
The following custom rules are used:
- Enforce that routes have a specific Zuplo Policy
- Enforce that the path of routes starts with a specific value.
The configuration rules can be found in config/api-ruleset.yaml. Custom functions are in /lint-functions.
Use this example locally
To develop with this example locally, you can create a new Zuplo project using our CLI
bash
Then, in the project directory run the following commands:
text
Other Examples
Jumpstart your API gateway development process with our pre-built starter templates
Idempotency Keys
Idempotency keys prevent duplicate requests and cache responses.
Semantic Caching
Semantic caching caches responses based on semantic similarity rather than exact matches.
OpenAI App
Example ChatGPT App using an MCP Server and the OpenAI Apps SDK.
GraphQL MCP Server
Exposing GraphQL APIs as an MCP Server with built-in introspection.