Trait poem_openapi::Tags

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

Represents a 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§