Skip to content

Commit 539d149

Browse files
committed
.
1 parent c59fd1b commit 539d149

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/Microsoft.OpenApi/Models/OpenApiSecurityScheme.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public void SerializeAsV2WithoutReference(IOpenApiWriter writer)
205205
break;
206206

207207
case SecuritySchemeType.OAuth2:
208-
// These properties apply to ouauth2 type only.
208+
// These properties apply to oauth2 type only.
209209
// flow
210210
// authorizationUrl
211211
// tokenUrl

src/Microsoft.OpenApi/Services/OpenApiUrlTreeNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public void WriteMermaid(TextWriter writer)
242242
}
243243

244244
/// <summary>
245-
/// Dictionary that maps a set of HTTP methods to HTML color. Keys are sorted, uppercased, concatenated HTTP methods.
245+
/// Dictionary that maps a set of HTTP methods to HTML color. Keys are sorted, upper-cased, concatenated HTTP methods.
246246
/// </summary>
247247
public readonly static IReadOnlyDictionary<string, MermaidNodeStyle> MermaidNodeStyles = new Dictionary<string, MermaidNodeStyle>(StringComparer.OrdinalIgnoreCase)
248248
{

src/Microsoft.OpenApi/Validations/Rules/OpenApiMediaTypeRules.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.OpenApi.Validations.Rules
1212
/// Removed this in v1.3 as a default rule as the OpenAPI specification does not require that example
1313
/// values validate against the schema. Validating examples against the schema is particularly difficult
1414
/// as it requires parsing of the example using the schema as a guide. This is not possible when the schema
15-
/// is ref'd. Even if we fix this issue, this rule should be treated as a warning, not an error
15+
/// is referenced. Even if we fix this issue, this rule should be treated as a warning, not an error
1616
/// Future versions of the validator should make that distinction.
1717
/// Future versions of the example parsers should not try an infer types.
1818
/// Example validation should be done as a separate post reading step so all schemas can be fully available.

src/Microsoft.OpenApi/Validations/ValidationRuleSet.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public IList<ValidationRule> FindRules(Type type)
3838
/// Gets the default validation rule sets.
3939
/// </summary>
4040
/// <remarks>
41-
/// This is a method instead of a property to signal that a new default ruleset object is created
42-
/// per call. Making this a property may be misleading callers to think the returned rulesets from multiple calls
41+
/// This is a method instead of a property to signal that a new default rule-set object is created
42+
/// per call. Making this a property may be misleading callers to think the returned rule-sets from multiple calls
4343
/// are the same objects.
4444
/// </remarks>
4545
public static ValidationRuleSet GetDefaultRuleSet()
@@ -56,7 +56,7 @@ public static ValidationRuleSet GetDefaultRuleSet()
5656
}
5757

5858
/// <summary>
59-
/// Return Ruleset with no rules
59+
/// Return <see cref="ValidationRuleSet"/> with no rules
6060
/// </summary>
6161
public static ValidationRuleSet GetEmptyRuleSet()
6262
{

0 commit comments

Comments
 (0)