Differences in jango rest and json

I'm new to Django, and I'm currently working on a project that uses the Django-rest-framework, and the documentation is created using Swagger through the django-rest-swagger package.

I am trying to find (or generate) a swagger.json definition file, any idea on where it can be found with this package? I would like to use it to create client side code.

thanks

+4
source share
1 answer

The smagger schema definition can be generated using https://github.com/signalfx/fetch-swagger-schema regardless of the api implementation.

+2
source

Source: https://habr.com/ru/post/1613320/


All Articles