pub struct OutputArgs {
pub output: Option<PathBuf>,
pub compact: bool,
pub strip_descriptions: bool,
pub keep_refs: bool,
pub inline_refs: bool,
pub minimize: bool,
}Expand description
Destination, serialization, reference, and minimization options.
Fields§
§output: Option<PathBuf>Optional output file; standard output is used when absent.
compact: boolWrite compact JSON output instead of the default pretty JSON.
strip_descriptions: boolRemove JSON Schema description annotations from the generated output.
This is schema-aware: properties named description remain intact.
keep_refs: boolLeave file/URL $ref strings in the generated schema as-is.
By default, external refs are resolved into root-level $defs so the
output is self-contained while still sharing referenced schemas.
inline_refs: boolFully inline resolved file/URL $refs instead of writing $defs.
minimize: boolKeep repeated schema subtrees inline instead of interning them into
root-level $defs.
Interning is an output-only transform over the final JSON Schema (it does not participate in Helm template inference) and is on by default: branch-scoped arms repeat large guard fragments, so interning keeps big charts far below Helm’s 5 MiB chart-file limit and speeds up every downstream validator.
Trait Implementations§
Source§impl Args for OutputArgs
impl Args for OutputArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for OutputArgs
impl Clone for OutputArgs
Source§fn clone(&self) -> OutputArgs
fn clone(&self) -> OutputArgs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OutputArgs
impl Debug for OutputArgs
Source§impl FromArgMatches for OutputArgs
impl FromArgMatches for OutputArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.