Schema with no required fields crashes
Open
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 525
- PR merge metrics
- No merged PRs in 30d
Description
I am using marshmellow schema in generating swagger documentation. When I am trying to create a schema without required fields the code crashes
```python
if len(definitions[v.__name__]['required']) != 0:
new[k][0]['required'] = True
```
How to avoid this problem
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.