News for hackers. Stuff that matters.
Re:OpenAPI v4 Proposal by cachance on Wednesday May 31, 2023 @10:33PM (#36146967)
I've also had success with drf + drf-spectacular and then using the output OpenAPI spec to generate a typescript-react client with a third-party code generator.

It mostly just works, like you said, and almost acts as a framework guardrail: if the inferred client types are comprehensive and unsurprising then the view tends to be concise; a wonky type indicates there may be something nonstandard in the view that could be fixed by cleaner framework-abiding code.

There are no comments on this comment yet.