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

OpenAPI specification for APIs #179

Open
tanmaykm opened this issue Jul 10, 2023 · 3 comments
Open

OpenAPI specification for APIs #179

tanmaykm opened this issue Jul 10, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@tanmaykm
Copy link

Is your feature request related to a problem? Please describe.

Warrant APIs are based on HTTP, well structured and mostly in REST format. It will be useful to integrate with other systems if an OpenAPI specification is provided.

Describe the solution you'd like

Providing an OpenAPI specification for the APIs will allow using it from a wide variety of languages. E.g. https://github.com/OpenAPITools/openapi-generator#overview

Describe alternatives you've considered

Not sure if this was considered. And whether it will be suitable for the APIs and useful to move the SDKs to use.

Additional context

  • none -
@akajla09
Copy link
Member

@tanmaykm thanks for opening this for discussion. We have talked internally about adopting OpenAPI but haven't yet made a decision on it.

I'm curious - are you looking for an SDK in a language we don't currently support (e.g. .NET, Rust)?

@akajla09 akajla09 added the enhancement New feature or request label Jul 10, 2023
@tanmaykm
Copy link
Author

Thanks for the quick response @akajla09 !
Yes, we may need to access warrant from Julia and Lua, and it would be easier if we could just generate from a spec.

Unless of course if the SDKs do more than just invoking the API endpoints. In that case do you recommend using the SDKs only?

@akajla09
Copy link
Member

Makes sense. I think more than likely we'll add an OpenAPI spec so clients can generate their own SDKs in whatever language they need. I'll provide an update here once we figure that out. In the interim, you're more than welcome to build your own simple Julia or Lua wrapper SDK as needed (there are just a handful of endpoints).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants