Skip to content

Commit 21f6687

Browse files
committed
chore: additional indenting
Signed-off-by: Vincent Biret <[email protected]>
1 parent b2bd4cd commit 21f6687

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/upgrade-guide-2.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -276,22 +276,22 @@ The OpenAPI 3.1 specification changes significantly how it leverages JSON Schema
276276
#### New keywords introduced in 2020-12
277277

278278
```csharp
279-
/// $schema, a JSON Schema dialect identifier. Value must be a URI
280-
public string Schema { get; set; }
281-
/// $id - Identifies a schema resource with its canonical URI.
282-
public string Id { get; set; }
283-
/// $comment - reserves a location for comments from schema authors to readers or maintainers of the schema.
284-
public string Comment { get; set; }
285-
/// $vocabulary- used in meta-schemas to identify the vocabularies available for use in schemas described by that meta-schema.
286-
public IDictionary<string, bool> Vocabulary { get; set; }
287-
/// $dynamicRef - an applicator that allows for deferring the full resolution until runtime, at which point it is resolved each time it is encountered while evaluating an instance
288-
public string DynamicRef { get; set; }
289-
/// $dynamicAnchor - used to create plain name fragments that are not tied to any particular structural location for referencing purposes, which are taken into consideration for dynamic referencing.
290-
public string DynamicAnchor { get; set; }
291-
/// $defs - reserves a location for schema authors to inline re-usable JSON Schemas into a more general schema.
292-
public IDictionary<string, OpenApiSchema> Definitions { get; set; }
293-
public IDictionary<string, OpenApiSchema> PatternProperties { get; set; } = new Dictionary<string, OpenApiSchema>();
294-
public bool UnevaluatedProperties { get; set;}
279+
/// $schema, a JSON Schema dialect identifier. Value must be a URI
280+
public string Schema { get; set; }
281+
/// $id - Identifies a schema resource with its canonical URI.
282+
public string Id { get; set; }
283+
/// $comment - reserves a location for comments from schema authors to readers or maintainers of the schema.
284+
public string Comment { get; set; }
285+
/// $vocabulary- used in meta-schemas to identify the vocabularies available for use in schemas described by that meta-schema.
286+
public IDictionary<string, bool> Vocabulary { get; set; }
287+
/// $dynamicRef - an applicator that allows for deferring the full resolution until runtime, at which point it is resolved each time it is encountered while evaluating an instance
288+
public string DynamicRef { get; set; }
289+
/// $dynamicAnchor - used to create plain name fragments that are not tied to any particular structural location for referencing purposes, which are taken into consideration for dynamic referencing.
290+
public string DynamicAnchor { get; set; }
291+
/// $defs - reserves a location for schema authors to inline re-usable JSON Schemas into a more general schema.
292+
public IDictionary<string, OpenApiSchema> Definitions { get; set; }
293+
public IDictionary<string, OpenApiSchema> PatternProperties { get; set; } = new Dictionary<string, OpenApiSchema>();
294+
public bool UnevaluatedProperties { get; set;}
295295

296296
```
297297

0 commit comments

Comments
 (0)