tot_spec 0.1.1

The lib for json model
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::path::PathBuf;

mod context;
pub mod java_jackson;
pub mod py_dataclass;
pub mod rs_serde;
pub mod style;
pub mod swagger;
pub mod swift_codable;
pub mod utils;

pub trait Codegen {
    fn generate_for_folder(&self, folder: &PathBuf, output: &PathBuf) -> anyhow::Result<()>;
}