Trait ApiVersionDiscriminantSource

Source
pub trait ApiVersionDiscriminantSource: Send + Sync {
    // Required method
    fn get_discriminant(&self) -> String;
}
Expand description

Trait to get the discriminant that identifies the alternate openapi file to use first if found, in place of the default openapi.yml file.

Required Methods§

Source

fn get_discriminant(&self) -> String

Get the discriminant that identifies the alternate openapi file

Implementors§