News for hackers. Stuff that matters.
Re: by tevon on Monday March 25, 2024 @06:49PM (#39822123)
I agree with this as well!

OpenAPI spec seems intended to be consumed, not written. Its a great way to convey what your API does, but is pretty awful to write from scratch.

I do wish there was a simpler language to write in... JSON-based as well that would allow this approach of writing the spec first. But alas, there is not, and I have looked a loooot. If anyone has suggestions for other spec languages I'd love to learn!

Re: by Falimonda on Monday March 25, 2024 @09:44PM (#39823455)
Simpler than YAML?
Re: by Petermarcu on Monday March 25, 2024 @11:52PM (#39824130)
Re: by BillyTheKing on Tuesday March 26, 2024 @12:13AM (#39824217)
oh thanks a lot for sharing - I was looking for something just like this! Something like this + hurl is the perfect combination to sketch out APIs imo