Commit 911b207
authored
Added examples to schema of CursorPagination (#8687)
* Added examples to schema of CursorPagination
Fix #8686
Added missing examples for CursorPagination class to disable warnings in https://github.com/tfranzel/drf-spectacular and make it consistent with other pagination classes.
* Adapted test case for paginated response schema1 parent d507cd8 commit 911b207
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
898 | 898 | | |
899 | 899 | | |
900 | 900 | | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
901 | 904 | | |
902 | 905 | | |
903 | 906 | | |
904 | 907 | | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
905 | 911 | | |
906 | 912 | | |
907 | 913 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
922 | 922 | | |
923 | 923 | | |
924 | 924 | | |
| 925 | + | |
| 926 | + | |
925 | 927 | | |
926 | 928 | | |
927 | 929 | | |
928 | 930 | | |
| 931 | + | |
| 932 | + | |
929 | 933 | | |
930 | 934 | | |
931 | 935 | | |
| |||
0 commit comments