When a request body is defined by a JSON Schema, we should be able to auto-generate payloads based on that schema.
Goals:
-
When the request body is a schema (OpenAPI/JSON Schema):
- Automatically generate a valid payload.
- In the UI, provide controls to generate invalid payloads (e.g. missing required fields, wrong types, edge cases).
-
Allow requestMiddleware to plug in custom payload generators, so advanced users can fully control how payloads are created.
-
Design a way to manage and reuse schemas across the workspace:
- Shared schema files (for models used by multiple requests).
- Clean references from requests/collections to these schema definitions.
Notes:
When a request body is defined by a JSON Schema, we should be able to auto-generate payloads based on that schema.
Goals:
When the request body is a schema (OpenAPI/JSON Schema):
Allow
requestMiddlewareto plug in custom payload generators, so advanced users can fully control how payloads are created.Design a way to manage and reuse schemas across the workspace:
Notes:
API docs will support OpenAPI/JSON Schema, so the schema storage and reuse model should work for: