Singular shorthand for requests & responses #60
rattrayalex
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
as shorthand for:
I imagine this has been discussed internally previously.
This would be a bit annoying to consume from tooling, and complicates the spec, but could be much nicer to maintain by hand in >50% of cases (perhaps >80%?) if combined with a proposal to allow encoding the HTTP method in the path:
This helps the apparent goal of Moonwalk of flattening the spec substantially (typically one level of indentation for the request, and two levels of indentation for the response).
This proposal also reduces the burden on the developer of coming up with names, which is among the hardest things in computer science.
Beta Was this translation helpful? Give feedback.
All reactions