vishalanandl177 / DRF-API-Logger

An API Logger for your Django Rest Framework project.
https://github.com/vishalanandl177/DRF-API-Logger
Apache License 2.0
303 stars 57 forks source link

Added support for `application/vnd.*+json` media types #93

Closed OmarNunezG closed 6 months ago

OmarNunezG commented 6 months ago

Added support for custom application/vnd.*+json media types.

Here we use custom media types and would be nice to have support for it officially.

As this media types are JSON formatted, they can be managed as normal application/json (just like application/vnd.api+json).

Specifying a list (or tuple) of these content types in settings.py using DRF_API_LOGGER_CONTENT_TYPES to add them to the defaults (the ones already supported).