]> git.proxmox.com Git - proxmox-backup.git/blob - src/api_schema.rs
use const api definitions
[proxmox-backup.git] / src / api_schema.rs
1 //! API definition helper
2 //!
3 //! This module contains helper classes to define REST APIs. Method
4 //! parameters and return types are described using a
5 //! [Schema](schema/enum.Schema.html).
6 //!
7 //! The [Router](router/struct.Router.html) is used to define a
8 //! hierarchy of API entries, and provides ways to find an API
9 //! definition by path.
10
11 #[macro_use]
12 mod schema;
13 pub use schema::*;
14
15 pub mod rpc_environment;
16 pub mod api_handler;
17 #[macro_use]
18 pub mod router;
19
20 //pub mod registry;
21 pub mod config;
22 pub mod format;
23