Skip to content

Conversation

@AllyW
Copy link
Contributor

@AllyW AllyW commented Apr 23, 2025

tsp request binary body:

  @doc("The file content as application/octet-stream.")
  @bodyRoot
   body: bytes;

output:

{
    "json": {
        "schema": {
            "type": "binary",
            "name": "body",
            "description": "The file content as application/octet-stream.",
            "required": true
        }
    }
}

@AllyW AllyW force-pushed the binary-requests branch from 55237d3 to 884d5aa Compare April 23, 2025 07:04
@AllyW AllyW marked this pull request as draft April 23, 2025 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant