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
Request Form is super helpful when creating requests as they sow he field names and path below using . notation. Likewise the response is just printed as text and can we also have it formatted as a response form and it helps to expand or collapse super large or long nested entities. The readme does show the response as a form but i cannot see the form but simple response section with plain text. I'm using latest version not via reflection but using protos . Any hidden flag or option to enable response form is much appreciated. Quote from Read me " And, of course, it shows a human-comprehensible response body, in the form of an HTML table."
The text was updated successfully, but these errors were encountered:
@alapativ2, FYI, versions prior to 1.2.0 actually used an HTML layout to display the response instead of the text area with the JSON contents. But it turns out that RPC schemas often have asymmetric message complexity: the request messages are often simple/small, but response message are often large/complex. So while it is usually reasonable to render a form with the request, rendering responses into HTML is often not reasonable (like for RPCs with large responses) and led to non-trivial performance issues.
There is actually a TODO in the code to provide an HTML layout for the response (in a way, restoring the old functionality), but it would likely be based on user-selection vs. being the default, so as to only be a possible performance issue when the user explicitly requests it to be rendered that way. BTW, things that were missing from the HTML response in those old pre-v1.2.0 versions (things which weren't added to the request HTML until v1.3.0) are extra response schema information. Ideally, if/when the HTML response feature is added, the structure would show not just the field names and values but also provide info about the field types and even have tool-tips/hover information to show fields' comments and options -- just like is available in the request form.
Request Form is super helpful when creating requests as they sow he field names and path below using . notation. Likewise the response is just printed as text and can we also have it formatted as a response form and it helps to expand or collapse super large or long nested entities. The readme does show the response as a form but i cannot see the form but simple response section with plain text. I'm using latest version not via reflection but using protos . Any hidden flag or option to enable response form is much appreciated. Quote from Read me " And, of course, it shows a human-comprehensible response body, in the form of an HTML table."
The text was updated successfully, but these errors were encountered: