Skip to content

davidsteiner/orator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orator

Server stub generation from OpenAPI 3.1 specs.

CI codecov crates-badge docs-badge Crates.io status

Documentation

Warning

This is work in progress — do not use it in production yet.

Examples

The best way to get a feel for what the crate is capable of is looking at the tennis club example in examples/.

Please refer to the example's README for more detail.

Features & status

  • Code generation of schemas for requests and responses
    • String enums
    • Complex types involving allOf, anyOf and oneOf
    • Optional properties mapped to Option
  • Code generation for operations
    • Per-tag traits
    • Generic context propagation to handlers for flexibility
  • Axum router generation
  • Parameter extraction
    • Path parameters
    • Query parameters
    • Headers
    • Cookie parameter support
  • CLI tool for explicit code generation into your project
  • Default response handling
  • Support for security schemes
  • Support for webhooks

About

Rust server stub generation from OpenAPI 3.1 specs

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages