Registry / web-framework / paperclip

paperclip

JSON →
library0.9.7rscratesunverified

Provides OpenAPI tooling for type-safe, compile-time checked HTTP APIs.

# Cargo.toml [dependencies] paperclip = "0.9.7"
INSTALL
IMPORT
SIG · PAPERCLIP
P
paperclip
web-frameworkrustv0.9.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Apiv2Schema
use paperclip::actix::web::Apiv2Schema;

Create an OpenAPI v2 schema instance.

use paperclip::actix::web::Apiv2Schema; fn main() { let schema = Apiv2Schema::new(); println!("OpenAPI schema: {:?}", schema); }
Debug
Known issues
gotchaActix-web integration requires the 'actix' feature flag.
fix
Add `features = ["actix"]` to Cargo.toml dependency.
affects: >=0.9.0
Upgrade
Version history
0.9.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
paperclip — cargo add paperclip · libregistry