Open vaerh opened 10 months ago
Solved, but where do I have to put the reference to the filenames/function ? Also in provider.go, or somewhere else ? Introduced cache response from routeros, but missed the sample_id of the switch... Cache is for generating datasource go code, of hardware types you do not own, or have no access to any more. Example /system/routerboard
I made some improvements, but while searching for a list of all mikrotik commands, I found the following: https://www.hashicorp.com/blog/terraform-provider-code-generation-now-in-tech-preview https://forum.mikrotik.com/viewtopic.php?p=859379&hilit=openapi https://tikoci.github.io/restraml/routeros-openapi3.json
Interesting information, thank you! Code generation for the framework is not suitable in our case, as the provider uses the SDK that came before it.
The output file format should be as in the example below. I need to move some changes to the main branch for it to work correctly.