Skip to content

Commit 2bf6b36

Browse files
committed
Add a terse object to the OpenApiWriterSettings
1 parent 2c64dad commit 2bf6b36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Microsoft.OpenApi/Writers/OpenApiWriterSettings.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ public ReferenceInlineSetting ReferenceInline {
6969
/// </summary>
7070
public bool InlineExternalReferences { get; set; } = false;
7171

72+
/// <summary>
73+
/// Indicates whether or not the produced document will be written in a compact or pretty fashion.
74+
/// </summary>
75+
public bool Terse { get; set; } = false;
76+
7277

7378
internal bool ShouldInlineReference(OpenApiReference reference)
7479
{

0 commit comments

Comments
 (0)