core-api Questions
1
I am having trouble creating a customizable swagger schema in the Django Rest Framework. I have read pages of documentation, but have not found a clear cut example on how to generate swagger annota...
Metaplasia asked 13/3, 2017 at 19:36
2
I'm writing some integration tests for a web API I build using Django Rest Framework and Django 1.11. My tests are passing when I use DRF's APIClient to send requests to my API endpoints, but when ...
Pernick asked 13/4, 2018 at 15:7
2
Solved
So I installed django-rest-swagger as shown in django rest documentation.
And on
from django.conf.urls import url
from rest_framework_swagger.views import get_swagger_view
schema_view = get_swa...
Ollayos asked 21/10, 2016 at 5:1
5
I'm building a Django Rest Framework and want to test the API with coreapi library. I can create an object using coreapi programmatically inside a python script but in command line, I can't create ...
Liquidate asked 26/5, 2017 at 12:26
2
As per the DRF documentation I started using ViewSet and have implemented list, retrieve, create, update and destroyactions. I have another APIView for which I was able to write schema (ManualSchem...
Ottilie asked 5/11, 2018 at 12:54
1
© 2022 - 2025 — McMap. All rights reserved.