Skip to main content

Crate rustapi_rs

Crate rustapi_rs 

Source
Expand description

§RustAPI

Public facade crate for RustAPI.

Re-exports§

pub use core::*;

Modules§

core
Stable core surface exposed by the facade.
extras
Optional extras grouped under a stable namespace.
prelude
Prelude module: use rustapi_rs::prelude::*.
protocol
Optional protocol integrations grouped under a stable namespace.

Attribute Macros§

delete
DELETE route handler macro
description
Description macro for detailed endpoint description in OpenAPI documentation
errors
Error responses macro for OpenAPI documentation
get
GET route handler macro
main
Main entry point macro for RustAPI applications
param
Path parameter schema macro for OpenAPI documentation
patch
PATCH route handler macro
post
POST route handler macro
put
PUT route handler macro
schema
Auto-register a schema type for zero-config OpenAPI.
summary
Summary macro for endpoint summary in OpenAPI documentation
tag
Tag macro for grouping endpoints in OpenAPI documentation

Derive Macros§

ApiError
Derive macro for implementing IntoResponse for error enums
Schema
Derive macro for OpenAPI Schema trait
TypedPath
Derive macro for TypedPath
Validate
Derive macro for implementing Validate and AsyncValidate traits