Skip to content

Commit a1817e4

Browse files
committed
chore: updates comment on type change
Signed-off-by: Vincent Biret <[email protected]>
1 parent c7e6e73 commit a1817e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/upgrade-guide-2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ The OpenAPI 3.1 specification changes significantly how it leverages JSON Schema
162162
public string? ExclusiveMaximum { get; set; } // type changed to reflect the new version of JSON schema
163163
public string? ExclusiveMinimum { get; set; } // type changed to reflect the new version of JSON schema
164164
public JsonSchemaType? Type { get; set; } // Was string, now flagged enum
165-
public string? Maximum { get; set; } // Double???
166-
public string? Minimum { get; set; } // Double???
165+
public string? Maximum { get; set; } // type changed to overcome double vs decimal issues
166+
public string? Minimum { get; set; } // type changed to overcome double vs decimal issues
167167
168168
public JsonNode Default { get; set; } // Type matching no longer enforced. Was IOpenApiAny
169169
public bool ReadOnly { get; set; } // No longer has defined semantics in OpenAPI 3.1

0 commit comments

Comments
 (0)