Forum Discussion
jsmith141
4 years agoNew Contributor III
Hi @j.angelevski,
I do not have any empty array elements in the schemes. In this case, I actually manually modified the demo specification file that SnapLogic provides. Thanks for pointing that out though. Could that be the issue? I need to auto generate the specification file from the project?
cjhoward18
4 years agoEmployee
FYI this is a string with default defined correctly that is working for me if that String is the true desired type:
parameters:
- description: Person ID to get. returns all if null
default:
- "empty"
required: False
name: putId
in: query
type: string
collectionFormat: multi
- jsmith1414 years agoNew Contributor III
That was the issue. I completely overlooked it, I apologize I am still learning the yaml format and open API specification. Thanks so much for your help with this!
Best,
James