We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a45aaa0 commit 424257bCopy full SHA for 424257b
1 file changed
src/Microsoft.OpenApi/Any/OpenApiString.cs
@@ -10,12 +10,21 @@ public class OpenApiString : OpenApiPrimitive<string>
10
{
11
private bool isExplicit;
12
13
+ /// <summary>
14
+ /// Initializes the <see cref="OpenApiString"/> class.
15
+ /// </summary>
16
+ /// <param name="value"></param>
17
+ public OpenApiString(string value)
18
+ : this(value, false)
19
+ {
20
+ }
21
+
22
/// <summary>
23
/// Initializes the <see cref="OpenApiString"/> class.
24
/// </summary>
25
/// <param name="value"></param>
26
/// <param name="isExplicit">Used to indicate if a string is quoted.</param>
- public OpenApiString(string value, bool isExplicit = false)
27
+ public OpenApiString(string value, bool isExplicit)
28
: base(value)
29
30
this.isExplicit = isExplicit;
0 commit comments