What you're describing is essentially a DSL. We can ruminate on the exact level of details that will be needed but in my opinion by necessity it will be a lot higher than what most commenters in those threads are imagining. Open API specs are already quite complex and verbose and it's not exactly clear to me we can do a lot better when describing APIs, whether web ones or not.