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

[Feature] RESTful API + OpenAPI 3.0 specifications + language support #2054

Closed
2 tasks done
Maxiimeeb opened this issue Dec 9, 2023 · 3 comments
Closed
2 tasks done
Labels
feature This issue is a feature request

Comments

@Maxiimeeb
Copy link

Maxiimeeb commented Dec 9, 2023

Verified feature request does not already exist?

💻

  • Would you like to implement this feature?

Pitch: what problem are you trying to solve?

I want to use the actual API, but it's only available in JavaScript. From what I see, it would be tedious to make this API available in other languages. I want to make this process easier.

Describe your ideal solution to this problem

In the actual-server project, it would be nice to add routes for a RESTful API with OpenAPI 3.0 specifications. With a RESTful API and good specifications, we could use a code generator that takes in OpenAPI 3.0 and outputs a client for use (e.g., https://swagger.io/tools/swagger-codegen/). It would simplify the support for other languages.

Teaching and learning

We can now interact with Actual in any other languages easily

@Maxiimeeb Maxiimeeb added the feature This issue is a feature request label Dec 9, 2023
@github-actions github-actions bot added the needs votes Please upvote this feature request if you would like to see it implemented! label Dec 9, 2023
Copy link
Contributor

github-actions bot commented Dec 9, 2023

✨ Thanks for sharing your idea! ✨

This repository uses lodash style issue management for enhancements. That means enhancement issues are automatically closed. This doesn’t mean we don’t accept feature requests, though! We will consider implementing ones that receive many upvotes, and we welcome contributions for any feature requests marked as needing votes (just post a comment first so we can help you make a successful contribution).

The enhancement backlog can be found here: https://github.com/actualbudget/actual/issues?q=label%3A%22needs+votes%22+sort%3Areactions-%2B1-desc+

Don’t forget to upvote the top comment with 👍!

@github-actions github-actions bot closed this as completed Dec 9, 2023
@Maxiimeeb Maxiimeeb changed the title [Feature] [Feature] RESTful API + OpenAPI 3.0 specifications + language support Dec 9, 2023
@twk3
Copy link
Contributor

twk3 commented Dec 10, 2023

@Maxiimeeb I see that you saw the other issue, but did you also take a look at https://github.com/jhonderson/actual-http-api ?

I wonder if contributing changes there to bring it to align it with openAPI 3 would be better.

For the actual-server, it shouldn't be making changes to the data, as that component is intended as a data storage service primarily, and not a typically backend, but you can optionally have a rest api running a client and api alongside it.

@youngcw
Copy link
Member

youngcw commented Feb 8, 2024

Closing in favor of #1384. Make some comments there to add more details about openAPI 3 and maybe other languages.

@youngcw youngcw removed the needs votes Please upvote this feature request if you would like to see it implemented! label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue is a feature request
Projects
None yet
Development

No branches or pull requests

3 participants