I have an endpoint that I want to have a path variable that is a string. Here is the openAPI spec:
/companies/{COMPANY_ID}/communities/{STRING_TEST}/action-event-types/:
get:
parameters:
- $ref: '#/components/parameters/companyIdQueryParam'
- in: path
name: STRING_TEST
schema:
type: string
example: test
required: true
responses:
'200':
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?
Thanks