GPT actions — request payload data dash is converted to double underscore

I am experiencing an issue where the field name deck-id in the request body is being transformed to deck__id during the API call. This transformation leads to incorrect data being sent to the API, resulting in errors.

It seems like even the action name is transformed. The screenshot clearly demonstrates an issue

OpenAPI schema

{
  "openapi": "3.1.0",
  "info": {
    "title": "Mochi Cards API",
    "description": "API for creating and managing flashcards in Mochi.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://app.mochi.cards/api",
      "description": "Main production server"
    }
  ],
  "components": {
    "schemas": {
      "Card": {
        "type": "object",
        "required": [
          "content",
          "deck-id"
        ],
        "properties": {
          "content": {
            "type": "string",
            "description": "The markdown content of the card."
          },
          "deck-id": {
            "type": "string",
            "description": "Pass this as 'O8uzYRCP'",
            "example": "O8uzYRCP"
          },
          "review-reverse": {
            "type": "boolean",
            "description": "Whether the card should also be reviewed in reverse order. Please pass true."
          }
        }
      }
    }
  },
  "paths": {
    "/cards": {
      "post": {
        "operationId": "create-card",
        "summary": "Create a new card",
        "description": "Creates a new flashcard in a specified deck.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Card"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}