News for hackers. Stuff that matters.
Re:Show HN: A faster way to prototype your APIs using OpenAP... by tlarkworthy on Friday October 23, 2020 @11:04AM (#24870215)
I am confused when people try to generate api specs from languages (e.g. typescript to openAPI). The big draw to API specs for me is language independence. By generating from an implementation it's the wrong way round and you lose a degree of freedom IMHO.
Re:Show HN: A faster way to prototype your APIs using OpenAP... by yehors on Friday October 23, 2020 @12:13PM (#24871021)
I agree with this position. The code and the API spec must be separated. But the project is not meant to write APIs with spec, the project uses Python to create API spec.