Skip to content

[Feature] Add support for raw arrays in POST request bodies #119

@DavidAtJentic

Description

@DavidAtJentic

What is the Opportunity or Improvement?

Improvement:
The ability to post top-level arrays in operation request bodies.

  • As it stands, we are unable to hit operations that require raw array request bodies using the arazzo-runner, as all inputs must be named, with all request body data being wrapped in a dict.

Motivation

  • Many APIs include endpoints which use this functionality, such as GitHub, and we cannot hit these endpoints with raw arrays, even though they are OpenAPI-compliant.

Describe the Solution You'd Like

A clear and concise description of the desired outcome. If possible, define:

Acceptance Criteria:
Some mechanism for a user to provide a raw request body array to the arazzo-runner, and for the runner to execute this request as-is.

Describe Alternatives You've Considered

  • Oftentimes, APIs will also accept arrays wrapped in dicts in request bodies, however we might not be able to rely on this always being the case.

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions