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

OpenAPI is just the format for describing APIs for various use cases such as documentation, runtime validation, and yes, even code generation. Depending in the language you use, the support for code generation may vary though.

I’m certainly not against the flow you’re describing. Aside from having to wrangle JSON/YAML instead of a more concise DSL, it’s not too different from what you’d do with OpenAPI.




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

Search: