Forum Discussion

garymazz's avatar
garymazz
New Contributor
6 years ago

Can I change swagger's separation delimiters for pipe query params ?

Hi 

 

I'm trying to define an early rest, pre-crud api in swagger. 

The syntax looks like this: 

 

PUT /MyContainer/MyDataObject.txt?metadata:colour;metadata:shape;metadata:size

 

I'd like to change the equal sign '=' to a colon ':' and the ampersand '&'  to a semicolon ';'. 

Is this possible  ?   

 

An alternative would be having a default query parameter without requiring a tag in the uri.

 

cheers