feat: add description to parameters; bump: libs and tests; bump: 2.0.3

This commit is contained in:
Georg K
2023-11-01 03:55:10 +03:00
parent 82c638c1e0
commit 937c09e2b7
9 changed files with 28 additions and 25 deletions

View File

@@ -46,7 +46,7 @@ async def test_post_an_article_without_required_field_should_return_an_error_mes
'loc_in': 'body',
'msg': 'Field required',
'type': 'missing',
'url': 'https://errors.pydantic.dev/2.3/v/missing'
'url': 'https://errors.pydantic.dev/2.4/v/missing'
}
]
@@ -68,7 +68,7 @@ async def test_post_an_article_with_wrong_type_field_should_return_an_error_mess
'loc_in': 'body',
'msg': 'Input should be a valid integer, unable to parse string as an integer',
'type': 'int_parsing',
'url': 'https://errors.pydantic.dev/2.3/v/int_parsing'
'url': 'https://errors.pydantic.dev/2.4/v/int_parsing'
}
]
@@ -123,7 +123,7 @@ async def test_post_an_object_json_to_a_list_model_should_return_an_error(
'loc_in': 'body',
'msg': 'Input should be a valid list',
'type': 'list_type',
'url': 'https://errors.pydantic.dev/2.3/v/list_type'
'url': 'https://errors.pydantic.dev/2.4/v/list_type'
}
]