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

Interface tags #720

Open
Caellian opened this issue Oct 14, 2024 · 0 comments
Open

Interface tags #720

Caellian opened this issue Oct 14, 2024 · 0 comments

Comments

@Caellian
Copy link

I propose addition of a marker proc_macro:

#[interface(method = "GET", path = "/orgs/{org}/memberships/{username}", version="2022-11-28")]

Implementation of this proc_macro would simply pass-through input tokens, and generate a file ("OUT_DIR/interface/get/orgs.(org).memberships.(username)") that can then be used by CI to generate an always-updated list of implemented routes using github/rest-api-description, periodically.

This would allow exhaustive, and always up-to-date, API coverage testing.

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

1 participant