8/6/2023 0 Comments Django rest framework apiview![]() If DRF doesn't generate something automatically, it is still possible to customize the process by overriding a SchemaGenerator or AutoSchema (view inspector). components section allows to keep schema readable and short by defining and reusing certain spec parts, however DRF doesn't use it at all. Ideally, DRF should generate the paths section of the spec, as this is where the actual application is described. It is not difficult to populate the info and servers parts, so we are not really interested in them. The ideal scenario is where DRF generates an OpenAPI schema by inferring as much info from the application code as possible.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |