poem_openapi

Trait Tags

Source
pub trait Tags {
    // Required methods
    fn register(&self, registry: &mut Registry);
    fn name(&self) -> &'static str;
}
Expand description

Represents an OpenAPI tags.

Required Methods§

Source

fn register(&self, registry: &mut Registry)

Register this tag type to registry.

Source

fn name(&self) -> &'static str

Gets the tag name.

Implementors§