Skip to content

HyeonuPark/apiary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apiary

badge-github badge-crates.io badge-docs.rs badge-ci

HTTP API interface as a trait.

Goals

  • Generate HTTP routing code from the custom trait definition.
  • Handles HTTP body as JSON or the plain text.
  • Leverages the Tower Service as a middleware.

Non-goals

  • Non-textual parameters.
  • Streaming body.

Future goals

  • OpenAPI spec generation.
  • Generate code from the OpenAPI spec.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

HTTP API as a trait

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages