django-rest-framework-yaml icon indicating copy to clipboard operation
django-rest-framework-yaml copied to clipboard

Is it possible to get response in json

Open ivishalvarshney opened this issue 3 years ago • 1 comments

Some consumers of API required JSON in response. So this module should support different type of output/responses ( especially in json )

ivishalvarshney avatar Dec 14 '21 06:12 ivishalvarshney

You should be able to set a different renderer for the output as well, or even multiple renderers (see https://www.django-rest-framework.org/api-guide/renderers/#ordering-of-renderer-classes). This is nothing which should be specific to this package.

stefan6419846 avatar Jul 11 '22 16:07 stefan6419846