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

Question: Better to use this or a client generated using OpenAPI? #29

Open
SteveDonie opened this issue Apr 26, 2021 · 2 comments
Open

Comments

@SteveDonie
Copy link

It seems to me that a client generated using OpenAPI/swagger would be 'more complete' and also more up-to-date as the REST API evolves. Would you agree? Why or why not?

@nmchale-jama
Copy link
Member

Hi Steve,

I think that generating a client via Swagger works well. The Swagger definition is "mostly complete" but there are a few spots that will require manual fix-ups. But you will get most of the endpoints "out of the box". I think you will also need to write your own OAuth connector if you would like to use OAuth. Overall I think if your interested in using a swagger/openAPI generated client , it is worth giving it a try to see if it meets your needs.

@SteveDonie
Copy link
Author

Cool. Thanks for the response. We are currently using a version of this client, so we will need to do some work to use a swagger client. I'm trying to weigh costs vs benefits of doing that. We are currently using basic auth, and I don't currently see us changing that part of things.

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