mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 06:54:46 +00:00
the example compiles :party:
This commit is contained in:
parent
8b0d655ebb
commit
29af28ad8d
4 changed files with 56 additions and 51 deletions
|
@ -5,6 +5,8 @@ pub use hyper::StatusCode;
|
|||
|
||||
#[cfg(feature = "openapi")]
|
||||
pub mod openapi;
|
||||
#[cfg(feature = "openapi")]
|
||||
pub use openapi::{GetOpenapi, OpenapiRouter};
|
||||
|
||||
mod resource;
|
||||
pub use resource::{
|
||||
|
@ -23,3 +25,5 @@ pub use result::{ResourceResult, Success};
|
|||
|
||||
mod routing;
|
||||
pub use routing::{DrawResources, DrawResourceRoutes};
|
||||
#[cfg(feature = "openapi")]
|
||||
pub use routing::WithOpenapi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue