I’m struggling to use tyk-sync with gitlab, I find the documentation to be kinda short on this.
Since I don’t use a dashboard, I can’t start by a tyk-sync dump and thus I don’t really know what my tyk-sync repository is supposed to look like.
I was under the assumption that the only thing to do was having my api/policies definition in a file named .tyk.json in my gitlab repository. And that a sync command would upload them in my tyk install.
But I get an error saying “Type must be 'apidef or ‘oas’”. My file format is probably wrong, but I don’t what it is supposed to look like. Can anyone provide me with an example ?
I did see this page, but I’m still stumped as to what my .tyk.json is supposed to look like.
Maybe it is self evident, but I can’t wrap my head around it
I have one more question here 1) I have tyk gateway self hosted on aws k8s and and lb infront
I have private gitlab contains .json api defination files normal one
I am trying to use tyk sync with -g gateway lb url and -b my private gitlab I am getting authentication error how to pass access token -k is failing with file not found error