20 lines
		
	
	
		
			476 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			476 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //! 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]
 | |
| mod schema;
 | |
| pub use schema::*;
 | |
| 
 | |
| pub mod api_handler;
 | |
| pub mod registry;
 | |
| #[macro_use]
 | |
| pub mod router;
 | |
| pub mod config;
 |