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
After doing a request, it would be useful if there was a clipboard icon next to the response body that could copy the response body to the clipboard.
For large response bodies, it's quite tedious to try to select it all, cmd/ctrl+a tends to select the entire page.
For our use cases, we often copy the response from 1 request, and then paste it into some other tool (e.g. GeoJSON editing), or use it as the request body to another request (e.g. a PUT request to update something.)
Q
A
Bug or feature request?
feature request
Which Swagger/OpenAPI version?
2.0
Which Swagger-UI version?
3.9.3
How did you install Swagger-UI?
We use the static files, and just modify the javascript in index.html to change the settings as needed.
As a workaround (at least with Chrome/Windows) you can select the first part of the response, scroll to the bottom, and shift click on the last part of the response, then copy with Ctrl + C.
Summary
After doing a request, it would be useful if there was a clipboard icon next to the response body that could copy the response body to the clipboard.
For large response bodies, it's quite tedious to try to select it all, cmd/ctrl+a tends to select the entire page.
For our use cases, we often copy the response from 1 request, and then paste it into some other tool (e.g. GeoJSON editing), or use it as the request body to another request (e.g. a PUT request to update something.)
index.html
to change the settings as needed.Demonstration API definition
n/a
Configuration (browser query string, constructor, config.yaml)
n/a
Expected Behavior
There is a clipboard icon that you can click to copy the response received into the operating system's clipboard.
Current Behavior
There is no such icon
Possible Solution
Context
This feature would make it much easier to interact with the responses from Swagger UI in various ways.
The text was updated successfully, but these errors were encountered: