I want to import an Open API definition, that sets its path values with an example. This works for the body perfectly.
Here is the Open API definition:
parameters:
- name: processDefinitionKey
in: path
schema:
type: string
example: 'myProcessDefinitionKey'
After importing it:
I would expect:
It works if I add the example to the schema or use the default of the schema:
parameters:
- name: processDefinitionKey
in: path
schema:
type: string
example: 'myProcessDefinitionKey'
or
parameters:
- name: processDefinitionKey
in: path
schema:
type: string
default: 'myProcessDefinitionKey'
But this is not supported by my framework to create the Open API definition.
Is there a way to achieve this in my scenario?