flask-parameter-validation
                                
                                 flask-parameter-validation copied to clipboard
                                
                                    flask-parameter-validation copied to clipboard
                            
                            
                            
                        Get and validate all Flask input parameters with ease.
For query and form data, null values are transmitted as empty strings. I would like to suggest a method to convert these to None during the convert function of the...
I have own custom decorator now sure how to use it along with ValidateParameters() Example code: ```python def token_required(f): @wraps(f) def decorated(*args, **kwargs): # ... return f(current_user, *args, **kwargs) return...
### 🛠 Changes being made #### Give examples of the changes you've made in this pull request. Include an itemized list if you can. - Add validation for `StrEnum` and...
### 🛠 Changes being made #### Give examples of the changes you've made in this pull request. Include an itemized list if you can. - Add OpenAPI 3.1.0 [Responses object](https://swagger.io/specification/#responses-object)...
Is there a way to validate an argument to ensure that it has only a list of specific values? For example ``` func( suit = Json(hearts | clubs | spades...
Using an Optional or Union type with the @ValidateParameters decorator works for validation purposes, but it causes a 500 error when accessing the /docs route. It looks like it may...
### 🛠 Changes being made #### Give examples of the changes you've made in this pull request. Include an itemized list if you can. - Prepend UUID to the function...
I see there are parameters for min_int and max_int and expected to see similar parameters for floats, but didn't see any. Did I miss something? Is there another way to...
Source code for `/.../str/default`:  Generated docs for `/.../str/default`:  Source code for `/.../date/default`:  Generated docs for `/.../date/default`:  I think this is likely due to the use of...