Skip to content
/ rest Public

Generate openapi client and docs from proc-macro

Notifications You must be signed in to change notification settings

Chara-X/rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eb8c496 · Mar 28, 2025

History

9 Commits
Mar 28, 2025
Feb 24, 2025
Feb 20, 2025
Feb 20, 2025
Mar 14, 2025
Feb 24, 2025

Repository files navigation

rest

Example

rest::client!({
    info {
        title: "User management",
        version: "1.0",
        description:
            "Just for example",
    };
    server {
        url: "/api/v1",
    };
    /// Create a new user
    op("POST", "/users", msg::User, ());
    /// Get a user
    op("GET", "/users/{id}", (), msg::User);
});

About

Generate openapi client and docs from proc-macro

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages