Zuplo logo

Starter Templates

Jumpstart your API gateway development process with our pre-built starter templates

Templates

Schema Validation with File Refs

Use the Request Validation policy with OpenAPI that references external files.

Validation
Programmability
Run Locally
npx create-zuplo-api --example schema-validation-file-ref

Schema Validation from File Refs#

This sample demonstrates how to use the Request Validation policy and write an OpenAPI spec that references external files using a $ref.

Use this example locally#

To develop with this example locally, you can create a new Zuplo project using our CLI

npx create-zuplo-api@latest my-api --example schema-validation-file-ref

Then, in the project directory run the following commands:

npm install
npm run dev