Django REST Framework (DRF) does for REST APIs what Django does for web applications more generally. That is, it provides a powerful, flexible framework to help quickly building applications. OpenAPI (formerly Swagger) provides a machine-readable schema for describing the REST APIs made possible by the likes of DRF. When combined, they allow you to do some pretty neat things, which we're going to cover in this talk:
- Automatic generation of schemas from your API
- Validation of APIs using schemas
- Documentation!
- The competition
Let's see if OpenAPI really is the one API schema to rule them all... or something like that.