pub struct OpenApiEndpoint {
pub owner: Option<String>,
pub core: Option<bool>,
pub document_path: Option<String>,
pub operation_id: Option<String>,
pub description: Option<String>,
pub tags: Option<Vec<String>>,
pub parameters: Vec<Value>,
pub request_body: Option<Value>,
pub responses: IndexMap<String, Value>,
pub server_only: bool,
pub native_extension: bool,
}Expand description
Rich metadata for one route; dispatch still comes exclusively from AuthRoute.
Fields§
§owner: Option<String>Optional documentation owner for a route contributed by another plugin.
core: Option<bool>Override the plugin-level core documentation classification.
document_path: Option<String>Canonical document template when dispatch uses equivalent parameter names.
operation_id: Option<String>§description: Option<String>§parameters: Vec<Value>§request_body: Option<Value>§responses: IndexMap<String, Value>§server_only: bool§native_extension: boolRust extension omitted by the pinned-equivalent document policy.
Trait Implementations§
Source§impl Clone for OpenApiEndpoint
impl Clone for OpenApiEndpoint
Source§impl Debug for OpenApiEndpoint
impl Debug for OpenApiEndpoint
Auto Trait Implementations§
impl Freeze for OpenApiEndpoint
impl RefUnwindSafe for OpenApiEndpoint
impl Send for OpenApiEndpoint
impl Sync for OpenApiEndpoint
impl Unpin for OpenApiEndpoint
impl UnsafeUnpin for OpenApiEndpoint
impl UnwindSafe for OpenApiEndpoint
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