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 ?
Thanks in advance