File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
crates/rustapi-macros/src Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,6 @@ use syn::{
2424
2525mod api_error;
2626
27- /// Derive macro for `ApiError`
28- ///
29- /// # Example
30- ///
31- /// ```rust,ignore
32- /// #[derive(ApiError)]
33- /// enum MyError {
34- /// #[error(status = 404, message = "User not found")]
35- /// UserNotFound,
36- /// }
37- /// ```
38-
3927/// Auto-register a schema type for zero-config OpenAPI.
4028///
4129/// Attach this to a `struct` or `enum` that also derives `Schema` (utoipa::ToSchema).
@@ -1109,8 +1097,6 @@ pub fn derive_validate(input: TokenStream) -> TokenStream {
11091097// ApiError Derive Macro
11101098// ============================================
11111099
1112- /// Parsed error attribute info
1113-
11141100/// Derive macro for implementing IntoResponse for error enums
11151101///
11161102/// # Example
You can’t perform that action at this time.
0 commit comments