Open zdne opened 8 years ago
would this be related to a top-level section control? Currently there are the "Introduction" and "Reference" sections. It would be useful to customize those.
For example I'd like to break apart our reference section into several domain "what" sections.
There will definitely be some cross-polination, but this would be easier to digest than the current:
I realize grouping probably exists for this method, but we use grouping for the further layer:
would this be related to a top-level section control? Currently there are the "Introduction" and "Reference"
Not really this issue is about conceptually separating the abstraction levels in API Blueprint, in this case, resource and action semantics description from the protocol details.
See http://blog.apiary.io/2015/12/17/API-Blueprint-Future
I believe what are you asking is how the documentation gets rendered in a documentation rendering tool (like Apiary or Aglio) but that is not in the scope of this issues.
Separate protocol layer from the description of the API semantics. The idea is to move protocol specifics from existing Resource and Action sections into new sections.
This breaks the API Design into two parts:
Currently the two are mixed. This hinders the purpose of the API and leads to tight coupling with the client. Making the API harder to design, maintain and evolve.
This should follow the Resource Blueprint concept in introducing keywords for resource and action sections –
Resource
andAction
keyword – which enables definition of Resources and Actions without URLs and HTTP methods. Protocol specifics should be mixed in later in a (new) protocols section.See the Resource Blueprint concept for details.
Related issues #288 and #13