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

Switch from swagger-codegen to kiota #87

Open
Andy-Grigg opened this issue Jun 26, 2024 · 3 comments
Open

Switch from swagger-codegen to kiota #87

Andy-Grigg opened this issue Jun 26, 2024 · 3 comments

Comments

@Andy-Grigg
Copy link
Collaborator

Other Granta MI consumers of OpenAPI specs use kiota instead of swagger-codegen. kiota generates nicer Python and seems to be well supported, but there are currently issues that are blocking us making the switch:

@svrooij
Copy link

svrooij commented Jul 3, 2024

You can implement your own Authentication provider interface to fix the windows auth part. How does that work currently?

Sorry, I'm by no means a python developer, so I would not be able to do this myself

@Andy-Grigg
Copy link
Collaborator Author

You can implement your own Authentication provider interface to fix the windows auth part. How does that work currently?

@svrooij Thanks for taking the time to comment!

I believe there are some issues with the httpx backend used in Python. @da1910 knows about this more than I do, but I think there's information needed to authenticate with NTLM that isn't available within the httpx authentication interface.

@Andy-Grigg
Copy link
Collaborator Author

Looks like there are some recent developments here. The following libraries now exist, which I don't think did the last time I looked at httpx in any details:

This should cover everything we need.

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

2 participants