This repository was archived by the owner on Dec 1, 2025. It is now read-only.
Fix/bad generator #4
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes multiple changes aimed at improving the configuration, updating dependencies, and cleaning up the codebase. The most important changes include updates to the OpenAPI generator configuration, removal of unnecessary fields, and enhancements to the Go module and API client.
Configuration Updates:
.openapi-generator/config.yaml: UpdatedglobalPropertiesandadditionalPropertiesto align with the new configuration standards..openapi-generator/VERSION: Updated the OpenAPI generator version from7.6.0to7.8.0. [1] [2]Dependency Updates:
go.mod: Updated the Go version from1.18to1.22.5.Codebase Cleanup:
main.go: Removed theNewAPIClientForfunction and related constants.netbox/client.go: Refactored to use interfaces instead of pointers for API services and improved parameter handling. [1] [2] [3] [4] [5] [6]API Schema Changes:
api/openapi.yaml: Removedcluster_countfrom the required fields in multiple components. [1] [2] [3] [4] [5]Miscellaneous:
netbox/.gitignore: Added rules to ignore compiled object files, static and dynamic libs, and other generated files.netbox/.travis.yml: Added a Travis CI configuration for building the Go project.netbox/git_push.sh: Added a script to automate Git pushes with user-defined parameters.