Looking for a Rust API with automatic documentation and good validation?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • oasgen

    Generates OpenAPI 3.0 spec based on Rust code. Works with axum, actix-web, or any/no framework.

  • You might check out https://github.com/kurtbuilds/oasgen/

  • paperclip

    WIP OpenAPI tooling for Rust. (by paperclip-rs)

  • It's inspired by others in the space that you might check out: paperclip, okapi, and others.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • okapi

    OpenAPI (AKA Swagger) document generation for Rust projects

  • It's inspired by others in the space that you might check out: paperclip, okapi, and others.

  • poem

    A full-featured and easy-to-use web framework with the Rust programming language.

  • The example at https://github.com/poem-web/poem/tree/master/examples/openapi/auth-apikey works without issues for me.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts