validator-api: add comment for JsonSchema impl for ErrorResponse

This commit is contained in:
Jon Häggblad
2022-05-03 10:23:57 +02:00
parent b31587e051
commit cc5e12e2b5
+1 -1
View File
@@ -266,7 +266,7 @@ impl JsonSchema for ErrorResponse {
.required
.insert("error_message".to_owned());
// WIP(JON): is this valid? Using the inner type u16 explicitly
// Status does not implement JsonSchema so we just explicitly specify the inner type.
object_validation
.properties
.insert("status".to_owned(), gen.subschema_for::<u16>());