Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netbox 3.5+ support #155

Closed
jqueuniet opened this issue Aug 16, 2023 · 6 comments
Closed

Netbox 3.5+ support #155

jqueuniet opened this issue Aug 16, 2023 · 6 comments

Comments

@jqueuniet
Copy link

I realise this is far from trivial given the upstream switch to OpenAPI 3 which is not supported by go-swagger, but is there currently any plan for Netbox 3.5+ support in this project? And is there any need for help to move forward on this issue?

@v0ctor
Copy link
Collaborator

v0ctor commented Aug 17, 2023

I created a discussion to address the migration to a library compatible with OpenAPI 3.

I also created an experimental PR to test openapi-generator, as it seems the most viable option.

Please feel free to participate! 🤩

@davidovich
Copy link

May I also suggest https://github.com/deepmap/oapi-codegen which is written in go, so may lower the impedance mismatch. It generates idiomatic go and is compatible with OpenAPI 3.

@tjdavis3
Copy link

tjdavis3 commented Oct 9, 2023

Another suggesting is https://github.com/ogen-go/ogen. Similar to oapi-codegen and also written in go.

@v0ctor
Copy link
Collaborator

v0ctor commented Oct 17, 2023

After investigating these options and others that I finally discarded, I made another PR (#161) using oapi-codegen as an alternative.

I am going to try it out, but at the moment I like this alternative better because it seems simpler and more idiomatic.

@zyxep
Copy link

zyxep commented Nov 30, 2023

any updates on this one?
the new OAPI specs is kinda blocking me from upgrading my netbox instance :(

@v0ctor
Copy link
Collaborator

v0ctor commented Jan 18, 2024

A new alpha version that supports the latest Netbox version has been released.

Please feel free to test it and to provide feedback.

@v0ctor v0ctor closed this as completed Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants