You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Swagger Try it out: render request-body properties as form fields #28
Swagger UI's "Try it out" renders JSON request bodies as one JSON editor. It only renders path/query/header parameters such as instanceName as separate input controls. Users want each request-body field exposed as its own labeled UI input.
Current state
The runtime OpenAPI document already contains per-property JSON Schemas, required fields, types, enums, bounds, and descriptions. This is not fixed by adding more schema annotations or toggling a standard Swagger UI option: upstream Swagger UI intentionally edits an application/json request body as one JSON value.
Required design
Add a custom request-body form renderer/plugin (or a separate API explorer) that:
This is now part of the delete-message follow-up. The runtime schemas are present, but standard application/json Swagger UI still shows one editor. I am adding a guided form media type generated from the same schema, keeping application/json as the advanced fallback, and adding contract checks so enums and individual fields remain available instead of regressing to an untyped Request body.
Runtime Swagger request bodies now expose application/x-www-form-urlencoded as the guided field-based form and retain application/json as the advanced raw-body option. Recursive form-body coercion covers booleans, numbers, arrays, and nested objects before normal schema validation.
Activity
Neup123 commentedon Sep 22, 2026
This is now part of the delete-message follow-up. The runtime schemas are present, but standard application/json Swagger UI still shows one editor. I am adding a guided form media type generated from the same schema, keeping application/json as the advanced fallback, and adding contract checks so enums and individual fields remain available instead of regressing to an untyped Request body.
Neup123 commentedon Sep 22, 2026
Delivered in #32 and Evolution API v5.4.3.
Runtime Swagger request bodies now expose
application/x-www-form-urlencodedas the guided field-based form and retainapplication/jsonas the advanced raw-body option. Recursive form-body coercion covers booleans, numbers, arrays, and nested objects before normal schema validation.