OpenAPI string path variable failing schema validation, says it expects integer. Anyone see an issue with my spec?

I have an endpoint that I want to have a path variable that is a string. Here is the openAPI spec:

      - $ref: '#/components/parameters/companyIdQueryParam'
      - in: path 
        name: STRING_TEST
          type: string
          example: test
        required: true
        description: Successful

Everything validates properly and I am able to successfully create a collection. But then when I try to send the endpoint, I get a schema validation issue saying:

The path variable “STRING_TEST” needs to be of type integer, but we found “test”

Has anyone else run into this, and possibly have a solution?