Skip to content

Sample request body for binary string uses "raw" instead of "binary" #382

@elazar

Description

@elazar

When importing an OpenAPI spec with this request boy specification...

"requestBody": {
  "content": {
    "image/*": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    }
  },
  "description": "Upload of image file"
}

... the result is that "raw" is selected for the request body type instead of "binary" and a Lorem Ipsum-style string is supplied as the sample request body.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions