2019-02-17 08:59:20 +00:00
|
|
|
//! API definition helper
|
|
|
|
//!
|
|
|
|
//! This module contains helper classes to define REST APIs. Method
|
|
|
|
//! parameters and return types are described using a
|
|
|
|
//! [Schema](schema/enum.Schema.html).
|
|
|
|
//!
|
|
|
|
//! The [Router](router/struct.Router.html) is used to define a
|
|
|
|
//! hierarchy of API entries, and provides ways to find an API
|
|
|
|
//! definition by path.
|
|
|
|
|
|
|
|
#[macro_use]
|
2019-02-17 09:16:33 +00:00
|
|
|
mod schema;
|
|
|
|
pub use schema::*;
|
|
|
|
|
2019-04-16 08:36:04 +00:00
|
|
|
pub mod api_handler;
|
2019-02-17 08:59:20 +00:00
|
|
|
pub mod registry;
|
|
|
|
#[macro_use]
|
|
|
|
pub mod router;
|
|
|
|
pub mod config;
|
2019-06-04 06:24:50 +00:00
|
|
|
pub mod format;
|