oas3-gen 0.26.2

A rust type generator for OpenAPI v3.1.x specification.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod cli;
pub mod colors;
pub mod commands;

pub use cli::{Cli, Commands, EnumCaseMode, EnumLayout, GenerateCommand, GenerateMode, ListCommands};
pub use colors::Colors;

fn term_width() -> u16 {
  if let Ok((width, _)) = crossterm::terminal::size() {
    width
  } else {
    80
  }
}