diff --git a/src/NSwag.CodeGeneration/Models/OperationModelBase.cs b/src/NSwag.CodeGeneration/Models/OperationModelBase.cs index c4a19eacac..c3149853e3 100644 --- a/src/NSwag.CodeGeneration/Models/OperationModelBase.cs +++ b/src/NSwag.CodeGeneration/Models/OperationModelBase.cs @@ -66,6 +66,9 @@ protected abstract TResponseModel CreateResponseModel(OpenApiOperation operation /// Gets the operation ID. public string Id => _operation.OperationId; + /// Gets the operation tags. + public List Tags => _operation.Tags; + /// Gets or sets the HTTP path (i.e. the absolute route). public string Path { get; set; }