Re:Ask HN: What technology is “cutting edge” in 2022?
by sam_lowry_ on Monday January 24, 2022 @09:49AM
(#30058246)
Anything that stands between the programmer and the code is doomed to be abused by those who can't.
The whole concept of specifying an API in a DSL should be limited to the domain and not be standardised.
OTOH, I am all for literate programming that combines the art of writing prose and code like in Jupiter Notebook. Among competitors to OpenAPI I keep an eye on API Blueprint. While it leans more towards prose than code, it is a valuable tool to document APIs.
Re:Ask HN: What technology is “cutting edge” in 2022?
by BerislavLopac on Tuesday January 25, 2022 @02:08AM
(#30069035)
> Anything that stands between the programmer and the code is doomed to be abused by those who can't.
Those who can't what? If you mean the ability to code, I don't understand how is that related to API specifications.
> The whole concept of specifying an API in a DSL should be limited to the domain and not be standardised.
Why exactly?
Both of these things are out of scope for OpenAPI. It's a separate discussion whether they should be or not, but they are currently not. For async protocols, there is AsyncAPI [0], FWIW.
Do you know of an alternative spec format that would cover what you're missing with OpenAPI?