fix(protocol): refresh generated failure JSON schemas
This commit is contained in:
+20
-20
@@ -99,25 +99,6 @@
|
|||||||
"maxLength": 128,
|
"maxLength": 128,
|
||||||
"minLength": 1
|
"minLength": 1
|
||||||
},
|
},
|
||||||
"Diagnostic": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"code": {
|
|
||||||
"type": "string",
|
|
||||||
"maxLength": 128,
|
|
||||||
"minLength": 1
|
|
||||||
},
|
|
||||||
"explanation": {
|
|
||||||
"type": "string",
|
|
||||||
"maxLength": 2048,
|
|
||||||
"minLength": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"code",
|
|
||||||
"explanation"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"FailureContext": {
|
"FailureContext": {
|
||||||
"description": "Common metadata is untrusted after deserialization. No audience label confers trust.",
|
"description": "Common metadata is untrusted after deserialization. No audience label confers trust.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -143,7 +124,7 @@
|
|||||||
"diagnostics": {
|
"diagnostics": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/$defs/Diagnostic"
|
"$ref": "#/$defs/FailureDiagnostic"
|
||||||
},
|
},
|
||||||
"maxItems": 8
|
"maxItems": 8
|
||||||
},
|
},
|
||||||
@@ -165,6 +146,25 @@
|
|||||||
"supplementary_omitted"
|
"supplementary_omitted"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"FailureDiagnostic": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"code": {
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 128,
|
||||||
|
"minLength": 1
|
||||||
|
},
|
||||||
|
"explanation": {
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 2048,
|
||||||
|
"minLength": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"code",
|
||||||
|
"explanation"
|
||||||
|
]
|
||||||
|
},
|
||||||
"OperationContext": {
|
"OperationContext": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|||||||
@@ -82,25 +82,6 @@
|
|||||||
"maxLength": 128,
|
"maxLength": 128,
|
||||||
"minLength": 1
|
"minLength": 1
|
||||||
},
|
},
|
||||||
"Diagnostic": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"code": {
|
|
||||||
"type": "string",
|
|
||||||
"maxLength": 128,
|
|
||||||
"minLength": 1
|
|
||||||
},
|
|
||||||
"explanation": {
|
|
||||||
"type": "string",
|
|
||||||
"maxLength": 2048,
|
|
||||||
"minLength": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"code",
|
|
||||||
"explanation"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"FailureContext": {
|
"FailureContext": {
|
||||||
"description": "Common metadata is untrusted after deserialization. No audience label confers trust.",
|
"description": "Common metadata is untrusted after deserialization. No audience label confers trust.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -126,7 +107,7 @@
|
|||||||
"diagnostics": {
|
"diagnostics": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/$defs/Diagnostic"
|
"$ref": "#/$defs/FailureDiagnostic"
|
||||||
},
|
},
|
||||||
"maxItems": 8
|
"maxItems": 8
|
||||||
},
|
},
|
||||||
@@ -148,6 +129,25 @@
|
|||||||
"supplementary_omitted"
|
"supplementary_omitted"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"FailureDiagnostic": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"code": {
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 128,
|
||||||
|
"minLength": 1
|
||||||
|
},
|
||||||
|
"explanation": {
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 2048,
|
||||||
|
"minLength": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"code",
|
||||||
|
"explanation"
|
||||||
|
]
|
||||||
|
},
|
||||||
"FailureEnvelope": {
|
"FailureEnvelope": {
|
||||||
"description": "DTO/schema source only. Deserialization does not produce a ProjectedFailure.",
|
"description": "DTO/schema source only. Deserialization does not produce a ProjectedFailure.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
Reference in New Issue
Block a user