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] Prepare for planka v2 #89

Open
JustSamuel opened this issue Feb 24, 2025 · 1 comment
Open

[Feature] Prepare for planka v2 #89

JustSamuel opened this issue Feb 24, 2025 · 1 comment

Comments

@JustSamuel
Copy link
Collaborator

JustSamuel commented Feb 24, 2025

What would you like?

With the new v2 coming, we should prepare a v2 branch that uses the new spec.

https://gist.github.com/meltyshev/a0bc611431a2cb3ebe962b7f80837661

Why is this needed?

No response

Other information

No response

@Gijsdeman
Copy link
Collaborator

For future reference: plankanban/planka#627 (comment).

Currently, this package tries to make the Planka v1 api more accessible, as the way it is provides/documented is lacking. However, if Planka v2 provides a decent openapi specification, the usefulness of this package becomes questionable. At that point, people could just generate the clients themselves.

However, for maintainability (purely on GEWIS side, at least), it might be nice to at least contain such a client in a separate repository such that it needs not to be generated for every repository that ever has a need to use the Planka v2 API.

For now, I suggest using the provided specs to generate a new client using the hey-api generator, as we have been doing for other projects, and put it on a separate v2 branch. This should suffice for now. In the future, we could fetch these specs automatically every week, and update it with possible package updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants