UNPKG

tressi

Version:

A lightweight, declarative stress testing CLI for modern developers.

62 lines (61 loc) 1.49 kB
{ "$ref": "#/definitions/TressiConfigSchema", "definitions": { "TressiConfigSchema": { "type": "object", "properties": { "$schema": { "type": "string" }, "headers": { "type": "object", "additionalProperties": { "type": "string" } }, "requests": { "type": "array", "items": { "type": "object", "properties": { "url": { "type": "string", "format": "uri" }, "payload": { "anyOf": [ { "type": "object", "additionalProperties": {} }, { "type": "array", "items": {} } ] }, "method": { "type": "string", "enum": [ "GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS" ], "default": "GET" } }, "required": ["url"], "additionalProperties": false } } }, "required": ["requests"], "additionalProperties": false } }, "$schema": "http://json-schema.org/draft-07/schema#" }