|
|
|
|
|
by angra_mainyu
777 days ago
|
|
Basically my PoV. The API code itself is the best possible documentation. Not to mention, how else do you see what complex logic might happen in an endpoint? It seems typespec deals only with extremely simple CRUD APIs, for which again just reading the code would be good enough. In scenarios where you want to offer the API consuming team some mock, I'd argue time would be better spent providing them with a a json-server implementation (see: https://www.npmjs.com/package/json-server). |
|
Looking at https://smithy.io/2.0/index.html which can already generate much more than TypeSpec based on the docs and awesome list.