nautobot / go-nautobot

Autogenerated Nautobot API Go Bindings
Other
7 stars 3 forks source link

File size to big for some IDEs/Godoc #25

Open Letsu opened 1 year ago

Letsu commented 1 year ago

The autogenerated file nautobot.go is not being indexed by default by some IDSs, such as Goland, due to its large file size. Additionally, there is currently no Godoc documentation generated for this package.

To address this issue, the code should probably be split into different files based on the autogenerated models/types, clients and multiple packages for the different api endpoint/tags defined in the swagger file.

This would reduce the filesize and also the size of the compiled binary when only some endpoints are used.

chadell commented 1 year ago

thanks @Letsu for your feedback. It will be taken into account.