swaggerdrf-spectacular

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


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


Solution

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

    SPECTACULAR_SETTINGS = { ... 'SWAGGER_UI_DIST':'https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.11.5' }