OpenApiDocDescriptor.TryGetTag method
Tries to get a tag item by name from the OpenAPI document.
public bool TryGetTag(string name, out OpenApiTag? tag)
| parameter | description |
|---|---|
| name | The name of the tag to retrieve. |
| tag | The retrieved OpenApiTag if found; otherwise, null. |
Return Value
True if the tag was found; otherwise, false.
See Also
- class OpenApiDocDescriptor
- namespace Kestrun.OpenApi