Show HN: OpenAPI DevTools – Chrome extension that generates an API spec
My most common use case here is to then want to hit the API from python, and adjust the params / url etc.<p>Would love a "copy to python requests" button that<p>grabs the headers<p>generates a boilerplate python snippet including the headers and the URL:<p><pre><code>    import requests
    import json

    url = '<endpoint>'

    headers = {
        'User-Agent': 'Mozilla/5.0 ...',
        ...
    }

    data = {
        "page": 5,
        "size": 28
        ...
    }

    response = requests.post(url, headers=headers, data=json.dumps(data))

    if response.status_code == 200:
        print(response.json())
    else:
        print(f"Error {response.status_code}: {response.text}")</code></pre>