Skip to content

OpenAPI: If request parameter defined by "content", the content media type is ignored #226

@kerrykimbrough

Description

@kerrykimbrough

In the following example, param0 is defined by content with media type application/json. But Tcases for OpenAPI ignores the media type. Input values generated for this parameter are instead serialized in the usual way determined by style and explode.

...
  "post": {
    "parameters": [
      {
        "name": "param0",
        "in": "query",
        "content": {
          "application/json": {
            "schema": {
              "type": "object"
              ...
            }
          }
        }
      }
 ...

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