>I would kinda expect REST framework to be able to generate Swagger (aka OpenAPI) definitions out of the box.
Me too, but, as I understand, this is a MVC framework that is returning HTML, not a framework to build web APIs.
>I would kinda expect REST framework to be able to generate Swagger (aka OpenAPI) definitions out of the box.
Me too, but, as I understand, this is a MVC framework that is returning HTML, not a framework to build web APIs.
It advertises "Built-in REST framework with JSON serialization" in the readme, that's why I asked.
Looks like it also supports some kind of models for JSON validation [0], it shouldn't be too hard to generate Swagger from them, just like FastAPI generates Swagger from Pydantic models.
[0] https://github.com/levkk/rwf/tree/main/examples/rest