dimanche 25 septembre 2016

Is it possible to test a REST API against documentation in Django?

I develop a RESTful API server using Django REST Framework, and while the app matures, entity signatures sometimes change.

While writing tests for this app, I began to wonder if there are tools to check that API returns data as stated in documentation, i.e. User entity contains all the required fields etc.

I know that there are API auto-documenting tools like django-rest-swagger and others, and maybe there is some tool that helps asserting that data returned to user has same signature as in documentation?

Aucun commentaire:

Enregistrer un commentaire