Skip to content

Interface tags #720

Open
Open
@Caellian

Description

@Caellian

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions