Metron-Project / metron

Django website for a comic book database
https://metron.cloud/
GNU General Public License v3.0
100 stars 7 forks source link

Incorrect schema in API docs #162

Open Buried-In-Code opened 1 year ago

Buried-In-Code commented 1 year ago

Describe the bug Currently the API docs show the endpoint /publisher/<id>/series_list as returning a SeriesList list obj however it actually returns a PaginatedSeriesList obj

To Reproduce

  1. Go to API docs
  2. Scroll to the /publisher/<id>/series_list endpoint
  3. See schema/example
  4. Run 'Try it out' to see the actual response

Expected behavior The API docs for /publisher/<id>/series_list should show the PaginatedSeriesList schema