diff --git a/README.md b/README.md index f644d2f5..9c18e5bd 100644 --- a/README.md +++ b/README.md @@ -261,7 +261,7 @@ You can change the `validation_error_status` in SpecTree (global) or a specific > How can I skip the validation? -Add `skip_validation=True` to the decorator. +Add `skip_validation=True` to the decorator. For now, this only skip the response validation. ```py @api.validate(json=Profile, resp=Response(HTTP_200=Message, HTTP_403=None), skip_validation=True) diff --git a/pyproject.toml b/pyproject.toml index 5d0c3984..78e4a292 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "spectree" -version = "1.2.0" +version = "1.2.1" dynamic = [] description = "generate OpenAPI document and validate request&response with Python annotations." readme = "README.md"