pub struct OpenApiDisplayConfig {
pub show_descriptions: bool,
pub show_security: bool,
pub show_deprecated: bool,
pub group_by_tags: bool,
pub max_endpoints: usize,
pub max_schema_depth: usize,
}Expand description
Configuration for OpenAPI display.
Fields§
§show_descriptions: boolShow endpoint descriptions.
show_security: boolShow security requirements.
show_deprecated: boolShow deprecated endpoints.
Group by tags.
max_endpoints: usizeMaximum endpoints to show (0 = unlimited).
max_schema_depth: usizeMaximum depth for nested schema rendering (default: 5).
Trait Implementations§
Source§impl Clone for OpenApiDisplayConfig
impl Clone for OpenApiDisplayConfig
Source§fn clone(&self) -> OpenApiDisplayConfig
fn clone(&self) -> OpenApiDisplayConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenApiDisplayConfig
impl Debug for OpenApiDisplayConfig
Auto Trait Implementations§
impl Freeze for OpenApiDisplayConfig
impl RefUnwindSafe for OpenApiDisplayConfig
impl Send for OpenApiDisplayConfig
impl Sync for OpenApiDisplayConfig
impl Unpin for OpenApiDisplayConfig
impl UnsafeUnpin for OpenApiDisplayConfig
impl UnwindSafe for OpenApiDisplayConfig
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