mrin9 / RapiPdf

PDF generation from OpenAPI / Swagger Spec
https://mrin9.github.io/RapiPdf
MIT License
282 stars 102 forks source link

Add response headers #82

Closed Yavari closed 1 year ago

Yavari commented 3 years ago

Would it be possible to show the response header in the same way as request headers are shown. One example from my generated json is:

        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "checksum": {
                "description": "Validate package",
                "schema": {
                  "type": "String"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePackageResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "400": {
            "description": "Bad Request"
          }
        }