mirror of
https://github.com/explodingcamera/osten.git
synced 2026-03-11 15:16:49 +00:00
No description
- Rust 100%
|
|
||
|---|---|---|
| crates | ||
| examples/schemars-test | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE-MIT | ||
| LICENSE_APACHE | ||
| README.md | ||
| schema.json | ||
Osten
This repo is under active development. Don't use it just yet!
Osten is a set of tools for working with JSON Schema and OpenAPI documents in Rust. Mainly, it provides a single representation for multiple schema formats, along with tools for code and documentation generation based on those schemas.
- Maximally permissive, will try to parse whatever you give it
- Lossy: will not represent every single detail of the original schema
- Internal representation is built around ergonomic use with Rust types
- Plugglable transformation pipeline for modifying the schema representation according to user needs
Goals
- Generate Rust types from JSON Schema / OpenAPI documents (sans-io)
- Generate actually good documentation from JSON Schema / OpenAPI documents
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 TinyWasm by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.