rename src/api to src/api_schema
This commit is contained in:
20
src/lib.rs
20
src/lib.rs
@ -4,26 +4,8 @@ pub mod buildcfg;
|
||||
#[macro_use]
|
||||
pub mod tools;
|
||||
|
||||
/// 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]
|
||||
pub mod api {
|
||||
|
||||
#[macro_use]
|
||||
pub mod schema;
|
||||
pub mod registry;
|
||||
#[macro_use]
|
||||
pub mod router;
|
||||
pub mod config;
|
||||
}
|
||||
pub mod api_schema;
|
||||
|
||||
#[macro_use]
|
||||
pub mod server {
|
||||
|
Reference in New Issue
Block a user