Hi!

First of all, thanks so much for the schema generation feature, it's a 
great building block for auto-generated documentation.

I recently fired off a couple of pull requests related to schema generation:

https://github.com/encode/django-rest-framework/pull/5764
https://github.com/encode/django-rest-framework/pull/5765

In the process I had a look at the test coverage and it looks as though 
rest_framework/schemas/inspector.py could do with a bit of love (especially 
field_to_schema):

https://codecov.io/gh/encode/django-rest-framework/src/master/rest_framework/schemas/inspectors.py

What is the prefered approach : test field_to_schema directly or test the 
"full stack" (i.e. setting up a serializer, a route, and testing the whole 
schema)?

Cheers,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to