pub fn component<S: Into<String>, I: Into<Component>>(mut self, name: S, component: I) -> Self {
        self.schemas.insert(name.into(), component.into());

        self
    }
/// Add [`Component`] to [`Components`].
///
/// Accpets two arguments where first is name of the component and second is the component itself.
Add [`Component`] to [`Components`].
Accpets two arguments where first is name of the component and second is the component itself.
Add [ ` Component ` ] to [ ` Components ` ] . Accpets two arguments where first is name of the component and second is the component itself .
pub fn component<S: Into<String>, I: Into<Component>>(mut self, name: S, component: I) -> Self {
        self.schemas.insert(name.into(), component.into());
        self
    }
pub fn component < S : Into < String > , I : Into < Component > > ( mut self , name : S , component : I ) -> Self { self . schemas . insert ( name . into ( ) , component . into ( ) ) ; self }
Add [`Component`] to [`Components`].
Add [ ` Component ` ] to [ ` Components ` ] .
mut self
name
S
component
I