I see that the PUT request from the dashboard while updating an API contains empty ‘custom_middleware’ definition.
One suggestion would be to probably not do that ?
Or use the ‘custom_middleware’ setting from the actual API definition when reading it on the edit page and use that in the PUT as well ?
True. We’d have to have the files on the host anyways.
But, following the folder-method, we’d have to update that folder structure every time a new API is registered on tyk.
We are using docker containers and going with the flow of folder-structure is complicating the process a lot.
Is there a way to write a golang plugin instead of the JS plugin ?
If yes, does the golang plugin use the same folder structure requirements as the JS plugin ?