fix: correct numeric types in progress notifications (#361)
* fix: correct numeric types in progress notifications The standard specifies that these may be floating-point. * fix: regenerate schemas
This commit is contained in:
parent
6a97503e29
commit
589815a40e
3 changed files with 16 additions and 22 deletions
|
|
@ -762,9 +762,8 @@
|
|||
},
|
||||
"progress": {
|
||||
"description": "The progress thus far. This should increase every time progress is made, even if the total is unknown.",
|
||||
"type": "integer",
|
||||
"format": "uint32",
|
||||
"minimum": 0
|
||||
"type": "number",
|
||||
"format": "double"
|
||||
},
|
||||
"progressToken": {
|
||||
"$ref": "#/definitions/ProgressToken"
|
||||
|
|
@ -772,11 +771,10 @@
|
|||
"total": {
|
||||
"description": "Total number of items to process (or total progress required), if known",
|
||||
"type": [
|
||||
"integer",
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"format": "uint32",
|
||||
"minimum": 0
|
||||
"format": "double"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -1027,9 +1027,8 @@
|
|||
},
|
||||
"progress": {
|
||||
"description": "The progress thus far. This should increase every time progress is made, even if the total is unknown.",
|
||||
"type": "integer",
|
||||
"format": "uint32",
|
||||
"minimum": 0
|
||||
"type": "number",
|
||||
"format": "double"
|
||||
},
|
||||
"progressToken": {
|
||||
"$ref": "#/definitions/ProgressToken"
|
||||
|
|
@ -1037,11 +1036,10 @@
|
|||
"total": {
|
||||
"description": "Total number of items to process (or total progress required), if known",
|
||||
"type": [
|
||||
"integer",
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"format": "uint32",
|
||||
"minimum": 0
|
||||
"format": "double"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -1027,9 +1027,8 @@
|
|||
},
|
||||
"progress": {
|
||||
"description": "The progress thus far. This should increase every time progress is made, even if the total is unknown.",
|
||||
"type": "integer",
|
||||
"format": "uint32",
|
||||
"minimum": 0
|
||||
"type": "number",
|
||||
"format": "double"
|
||||
},
|
||||
"progressToken": {
|
||||
"$ref": "#/definitions/ProgressToken"
|
||||
|
|
@ -1037,11 +1036,10 @@
|
|||
"total": {
|
||||
"description": "Total number of items to process (or total progress required), if known",
|
||||
"type": [
|
||||
"integer",
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"format": "uint32",
|
||||
"minimum": 0
|
||||
"format": "double"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue