problem with drf-spectacular, after 60 urls display 'string' in example value

198 Views Asked by At

so in my swagger after 60 endpoints in box where should be example value data, it just display 'string'. I moved some endpoints to top(in first 60) it worked and show proper example data.

didnt try anything, because dont even know where to move

1

There are 1 best solutions below

3
Jarold ecDesign Studio On BEST ANSWER

I changed the swagger version of drf spectacular and it worked.

SPECTACULAR_SETTINGS = { ... 'SWAGGER_UI_DIST':'https://cdn.jsdelivr.net/npm/[email protected]' }