File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
aspnetcore/fundamentals/openapi Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -549,13 +549,13 @@ When the <xref:System.Text.Json.JsonSerializerOptions.NumberHandling> property i
549549
550550| C# Type | OpenAPI ` type ` | OpenAPI ` format ` | Other assertions |
551551| -------------- | ---------------- | ---------------- | ------------------------------ |
552- | int | [ integer,string] | int32 | pattern ` <digits> ` | pattern: ` "^-?(?:0|[1-9]\\d*)$" `
552+ | int | [ integer,string] | int32 | pattern ` <digits> ` | <!-- pattern: `"^-?(?:0|[1-9]\\d*)$"` -->
553553| long | [ integer,string] | int64 | pattern ` <digits> ` |
554554| short | [ integer,string] | int16 | pattern ` <digits> ` |
555555| byte | [ integer,string] | uint8 | pattern ` <digits> ` |
556- | float | [ number,string] | float | pattern ` <digits with decimal > ` | pattern: ` "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$" `
556+ | float | [ number,string] | float | pattern ` <digits with decimal > ` | <!-- pattern: `"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"` -->
557557| double | [ number,string] | double | pattern ` <digits with decimal > ` |
558- | decimal | [ number,string] | double | pattern ` <digits with decimal > ` | pattern: ` "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$" `
558+ | decimal | [ number,string] | double | pattern ` <digits with decimal > ` | <!-- pattern: `"^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"` -->
559559
560560If the app is configured to produce OpenAPI 3.0 or OpenAPI v2 documents, where the ` type ` field cannot have an array value, the ` type ` field is dropped.
561561
You can’t perform that action at this time.
0 commit comments