-
-
Notifications
You must be signed in to change notification settings - Fork 266
Closed
Description
- A better name to
bulk_search API#543 - API documentation
Due to restricted change in schema of bulk_search API. The implementation of bulk_search API needs to be change.
Some Alternatives :
- Nest the result inside some variable and return
JSONobject. Add documentation of Bulk Search API #400 - Return the complete response in pagination view. CODE (https://gist.github.com/AmitGupta7580/c383c1e796d03f2f75d0e07b2624e2b0)
- Separate the
bulk_searchfromPackageViewSetclass. CODE (https://gist.github.com/AmitGupta7580/1124c73b9dbc5c6b6cb41a3f5fa1a73a). It works fine but it changes path from/api/packages/bulk_searchto/api/bulk_search. - Use custom template of SwaggerUI instead of using SpectacularSwaggerView (Import seprate scema.yaml for custom schema) (Reference: https://dev.to/matthewhegarty/swaggerui-inside-django-rest-framework-1c2p)
Metadata
Metadata
Assignees
Labels
No labels