📝 Add 3 more tests for component schema generation (#603)
There are several cases that we don't cover in
tests/test_unit/test_openapi/test_schema_snapshots.py1. We need to test
Query component schema generation with one field in __dmr_force_list__ and one other regular fielddjango-modern-rest/tests/test_unit/test_openapi/test_schema_snapshots.py
Line 66 in 8555cd5
2. We need to test
Query component with at least one field indjango-modern-rest/tests/test_unit/test_openapi/test_schema_snapshots.py
Line 67 in 8555cd5
These corner cases can just be added to the existing
_QueryModel1. We also need to test at least one file field as a list, add one field to
__dmr_force_list__ for FileMetadata component as welldjango-modern-rest/tests/test_unit/test_openapi/test_schema_snapshots.py
Line 122 in 8555cd5
This can be added to
_SeveralFiles model.This is a super easy issue for first-timers only :)
#enhancement #good_first_issue #help_wanted #python #django_modern_rest
sent via relator