OpenApiDocumentTransformerContext.DocumentName Property

Definition

Gets the name of the associated OpenAPI document.

public string DocumentName { get; init; }
member this.DocumentName : string with get, set
Public Property DocumentName As String

Property Value

Remarks

This corresponds to the document name provided when calling AddOpenApi during service registration. The default document name is "v1".

Applies to