def test_field_decorated_method():
parameter = build_parameter(TestSchema().fields["decorated"])
assert_that(parameter, is_(equal_to({
# NB: default for `fields.Method` is "object"
"type": "string",
})))
评论列表
文章目录