I've been given a URL for the swagger frontend, offering the documentation for a number of POST, GET, PUT and DELETE requests and I need to extract all requests (possibly as cURL commands), without opening each of the items and manually copying the request.
How?
According to https://petstore.swagger.io/ the app is written in React and it's not possible to see the curl request before you click on the section (because it's not in HTML tree at that point). You can try to install CJS plugin for chrome and write jQuery that:
.curl
contents to the temporary textareaAfter that you can simpy copy the contents of the textarea to a textfile or something.