loreanvictor / tyfon

typed functions over network
https://loreanvictor.github.io/tyfon
MIT License
37 stars 4 forks source link

Emit OpenAPI Spec #25

Open loreanvictor opened 3 years ago

loreanvictor commented 3 years ago

A useful addition would be to emit Open API Specifications. Perhaps using tree-sitter to parse the emitted type definitions and exporting an Open API spec based on that would do the trick. Specifically, combined with this issue we could potentially produce really pretty and human readable specifications.