Skip to content

Docs: add multipart/form-data guidance (link/usage example for aide-axum-typed-multipart) #284

@kieled

Description

@kieled

Problem

Multipart/form-data (file uploads, mixed fields) is a common API shape in axum apps, but aide’s main docs/examples don’t make it obvious what the recommended approach is.

There is an external integration crate (aide-axum-typed-multipart) mentioned in #267, but it is easy to miss if you start from docs.rs / README.

Proposed documentation improvements

  • Add a short section in the axum docs (docs.rs) and/or README:
    • “For typed multipart/form-data, use aide-axum-typed-multipart
    • minimal snippet showing how to model a form with a file field
    • feature flags / version compatibility notes
  • (Optional) add a small example under examples/ demonstrating multipart.

Related

Why this matters

Without explicit guidance, users often assume multipart is unsupported or end up hand-writing requestBody schemas inconsistently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions