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);
});
-
Notifications
You must be signed in to change notification settings - Fork 0
Chara-X/rest
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Latest commit | ||||
Repository files navigation
About
Generate openapi client and docs from proc-macro
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published