Hacker News new | past | comments | ask | show | jobs | submit login

> writing the document first doesn't give you much over generating it from types.

There's a required top-level parameter called version. As you are writing the document, it's in your face.




With Dropshot, the version is passed in as a function argument to the OpenAPI generator.


You will find out the problems with your approach.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: