paperclip

Module actix

source
Expand description

Plugin types, traits and macros for actix-web framework.

Modules§

Structs§

Traits§

  • Indicates that this thingmabob has a path and a bunch of definitions and operations.
  • Extension trait for actix-web applications.
  • Actix-specific trait for indicating that this entity can modify an operation and/or update the global map of definitions.

Attribute Macros§

  • Marker attribute for indicating that the marked object can represent non-2xx (error) status codes with optional descriptions.
  • Marker attribute for indicating that the marked object can filter error responses from the the #[api_v2_errors] macro.
  • Marker attribute for indicating that a function is an OpenAPI v2 compatible operation.
  • Creates route handler with paperclip::actix::web::Resource. In order to control the output type and status codes the return value/response must implement the trait actix_web::Responder.
  • Creates route handler with paperclip::actix::web::Resource. In order to control the output type and status codes the return value/response must implement the trait actix_web::Responder.
  • Creates route handler with paperclip::actix::web::Resource. In order to control the output type and status codes the return value/response must implement the trait actix_web::Responder.
  • Creates route handler with paperclip::actix::web::Resource. In order to control the output type and status codes the return value/response must implement the trait actix_web::Responder.
  • Creates route handler with paperclip::actix::web::Resource. In order to control the output type and status codes the return value/response must implement the trait actix_web::Responder.
  • Creates route handler with paperclip::actix::web::Resource. In order to control the output type and status codes the return value/response must implement the trait actix_web::Responder.

Derive Macros§

  • Derive attribute for indicating that a type is an OpenAPI v2 compatible header parameter.
  • Derive attribute for indicating that a type is an OpenAPI v2 compatible definition.
  • Marker attribute for indicating that an object forbids public access to operation (for example AccessToken).