@@ -81,9 +81,9 @@ def test_get_prototype(client):
8181 assert response .status_code == 200 , response .text
8282 assert response .json () == {
8383 "properties" : {
84- "B" : {"default" : 55 , "title" : "B" , " type" : "integer" },
85- "C" : {"default" : 65 , "title" : "C" , " type" : "integer" },
86- "D" : {"default" : 17 , "title" : "D" , " type" : "integer" },
84+ "B" : {"default" : 55 , "type" : "integer" },
85+ "C" : {"default" : 65 , "type" : "integer" },
86+ "D" : {"default" : 17 , "type" : "integer" },
8787 },
8888 "title" : "prototype" ,
8989 "type" : "object" ,
@@ -95,9 +95,9 @@ def test_complex_prototype(complex_prototype_model):
9595 assert response .status_code == 200 , response .text
9696 assert response .json () == {
9797 "properties" : {
98- "B" : {"exclusiveMinimum" : 42 , "title" : "B" , " type" : "integer" },
99- "C" : {"exclusiveMinimum" : 42 , "title" : "C" , " type" : "integer" },
100- "D" : {"exclusiveMinimum" : 42 , "title" : "D" , " type" : "integer" },
98+ "B" : {"exclusiveMinimum" : 42 , "type" : "integer" },
99+ "C" : {"exclusiveMinimum" : 42 , "type" : "integer" },
100+ "D" : {"exclusiveMinimum" : 42 , "type" : "integer" },
101101 },
102102 "required" : ["B" , "C" , "D" ],
103103 "title" : "CustomPrototype" ,
0 commit comments