Incoming body validation with JSON Schema

Bad inputs can easily break your API. Stop bad form before it even hits your API with Zuplo. In this demo we show how you can add JSON validation to an API without touching your original API.

Length: 2 minutes

We use JSON Schema with our JSON Validation policy. Here's the schema:

{
  "title": "Person",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The person's first name.",
      "pattern": "\\S+ \\S+"
    },
    "company": {
      "type": "string"
    }
  },

  "additionalProperties": false,
  "required": ["name"]
}

Easy peasy.

Questions? Let's chatOPEN DISCORD
0members online

Designed for Developers, Made for the Edge