-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
Description
Q | A |
---|---|
Bug or feature request? | 3 |
Which Swagger/OpenAPI version? | 3 |
Which Swagger-UI version? | 3.4.5 |
How did you install Swagger-UI? | n/a |
Which browser & version? | Firefox |
Which operating system? | Linux Ubuntu 16.04 |
Demonstration API definition
openapi: "3.0.0"
info:
version: 1.0.0
title: Swagger Test
servers:
- url: /test
paths:
/test:
patch:
summary: Update
parameters:
- name: id
in: query
description: filter on id
schema:
type: integer
format: int32
responses:
201:
description: Null response
default:
description: unexpected error
requestBody:
description: Request values
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
orderId:
type: integer
format: int32
description:
type: string
Expected Behavior
I would expect to be given text boxes to set the value of each of the orderId and description values.
Current Behavior
I get one big text box that an be edited with the following json
{
"orderId": 0,
"description": "string"
}