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

@@ -80,7 +80,7 @@ async def test_get_article_without_required_header_should_return_an_error_messag
'type': 'missing',
'loc': ['signature_expired'],
'msg': 'Field required',
'url': 'https://errors.pydantic.dev/2.3/v/missing',
'url': 'https://errors.pydantic.dev/2.4/v/missing',
'loc_in': 'headers'
}
]
@@ -104,7 +104,7 @@ async def test_get_article_with_wrong_header_type_should_return_an_error_message
'msg': 'Input should be a valid datetime, input is too short',
'input': 'foo',
'ctx': {'error': 'input is too short'},
'url': 'https://errors.pydantic.dev/2.3/v/datetime_parsing',
'url': 'https://errors.pydantic.dev/2.4/v/datetime_parsing',
'loc_in': 'headers'
}
]