Consider shorthand for encoding method with path, eg; post /foos/{id}
#61
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
-
as shorthand for
Relates to this proposal to allow a
request
shorthand: #60 and could perhaps be merged there, as it would make it much more common to be able to use a singlerequest
key, e.g.:Part of my motivation here is that it always felt strange to me that "retrieving" and "updating" a resource in an OpenAPI spec are nested in one place, but "creating" and "listing" the same resource are nested separately. Why nest at all? We're ultimately trying to get a flat list of operations. If we really do want to organize operations somehow, doing it based on resources might make a bit more sense.
Beta Was this translation helpful? Give feedback.
All reactions