pub struct SpecEntry {
pub name: String,
pub path: String,
pub schemas: SchemasConfig,
pub apis: ApisConfig,
pub modules: ModulesConfig,
}Expand description
Represents a single OpenAPI specification entry in multi-spec mode.
Fields§
§name: StringUnique name for this spec (kebab-case recommended)
path: StringPath or URL to the OpenAPI specification file
schemas: SchemasConfigRequired per-spec schema output directory and naming configuration
apis: ApisConfigRequired per-spec API output directory and configuration
modules: ModulesConfigRequired per-spec module selection configuration
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpecEntry
impl<'de> Deserialize<'de> for SpecEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SpecEntry
impl RefUnwindSafe for SpecEntry
impl Send for SpecEntry
impl Sync for SpecEntry
impl Unpin for SpecEntry
impl UnwindSafe for SpecEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more