Skip to content

JSON Schema request payload support & payload automation #27

@zhiguang-chen

Description

@zhiguang-chen

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:

  • API docs will support OpenAPI/JSON Schema, so the schema storage and reuse model should work for:

    • API documentation
    • Request payload generation
    • Future test automation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions