Errors Creating C# Client with OpenAPI specification

I’m trying to create an API client in Visual Studio using the OpenAPI specification provided in the documentation. I’m getting a lot of errors saying it doesn’t match the OpenAPI schema. The first it that the header objects in the raw response are not formatted properly. Here is the error.

Unexpected initial token 'String' when populating object. Expected JSON object or array. Path 'paths['/label/{label_id}/raw/'].get.responses.200.headers.cache-control', line 1540, position 40.

Thanks for your help.

So looking a little closer I do see some issues with the spec. Notice the spec for deleting a shipper

    "/shipper/{shipper_id}/": {
      "delete": {
        "tags": [
        "summary": "Archive a Shipper",
        "description": "Set an archive date on a Shipper and hide it from responses",
        "operationId": "ShipperByShipperId_DELETE",
        "parameters": [
            "200": {
              "description": "Shipper successfully archived",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/ShipperResponse"
            "404": {
              "description": "No shipper found"
            "name": "shipper_id",
            "in": "path",
            "description": "",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
        "deprecated": false

Notice the responses are in the ‘parameter’ property. Definitely not right. You can even see this reflected in the API documentation here:

Notice there are no examples or responses shown.