Closed skalee closed 6 years ago
@skalee here I think @ribose-jeffreylau wanted to specify two different use cases for the same action. Is there a better way to specify this?
@ronaldtse @ribose-jeffreylau API Blueprint is about endpoints, so they should be documented together. There can be more than one request and more than one response for given endpoint, it's totally allowed. Also, requests and responses may be logically grouped, see https://apiblueprint.org/documentation/specification.html#def-action-section, esp. "Multiple Transaction Examples" near the end of that section.
@skalee Yes, you're right. We can follow the style shown in the Multiple Transaction Examples. Thanks :)
Validator says:
And indeed, document structure is like:
The action with method PUT is already defined, indeed.