Skip to content

Conversation

AllyW
Copy link
Contributor

@AllyW AllyW commented May 29, 2025

Binary request example:

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

from loadtestservice: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/loadtestservice.json#L2155-L2164

@AllyW AllyW marked this pull request as ready for review June 4, 2025 02:29
elif isinstance(arg, CMDByteArgBase):
raise NotImplementedError()
elif isinstance(arg, CMDBinaryArgBase):
arg_type = "AAZFileUploadArg"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why it names AAZFileUploadArg? Maybe directly use the AAZFileArg as the name

Comment on lines -350 to -353
elif isinstance(arg, CMDByteArgBase):
raise NotImplementedError()
elif isinstance(arg, CMDBinaryArgBase):
raise NotImplementedError()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to move it out of the string arg? I think it should be part of the string arg right?

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.

2 participants