Skip to content

OAS 3.0: Request body is uneditable during try-it-out #3436

@jblazquez

Description

@jblazquez

Swagger UI version: commit a1ce0e7 (ft/oas3 branch)

Looks like it's not currently possible to edit the request body when trying out a particular operation:

1

Spec:

{
  "openapi": "3.0.0",
  "info": {
    "title": "Test",
    "version": "1.0.0"
  },
  "paths": {
    "/test": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "prop": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "default": {
            "description": "A response"
          }
        }
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions