restful-api-description-language / RADL

RADL: A description language and tooling for hypermedia-driven RESTful APIs
Apache License 2.0
23 stars 5 forks source link

Support the complete documentation effort #48

Open RaySinnema opened 8 years ago

RaySinnema commented 8 years ago

See the discussion in the wiki.

jonathanrobie commented 8 years ago

RADL already allows documentation to be written in a foreign vocabulary like Docbook or HTML5 as long as the content is well formed. To me, it would make more sense to allow front matter and appendices, which could include whatever a documentation team wants.

I'm uncomfortable with the idea of a highly structured schema for this purpose. Providing this level of structure for a REST API description makes sense, because an API is highly structured. I think industry experience has shown that less structured formats like Docbook and DITA win out in the field of technical documentation like user manuals.

RADL is for API descriptions, and supporting additional documentation in the API description makes all kinds of sense. Using RADL for something like a Getting Started Guide is like using a bagpipe for a screwdriver.

RaySinnema commented 8 years ago

I'm uncomfortable with the idea of a highly structured schema for this purpose.

I did not propose that idea. In fact, I didn't propose anything. I just wrote down what I think should be the complete documentation set for an API, so that we could talk about it and see what, if anything, needs to be done in RADL to support it.

jonathanrobie commented 8 years ago

OK. Let me take each of these components and say something about the relationship I think it has to RADL.

Currently, RADL is static HTML, and we do not have a well defined relationship between documentation and a running instance.

gentlewind commented 8 years ago

I agree with both of you. The wiki page covers the main documentation lifecycle. Other documentation types could be tutorials, whitepapers or reference implmentations which give developers a step-by-step guide on using the system and its ecosystem technologies to build a solution for a particular scenario.

The API reference Manual usually needs to be categorized into several different sections if it is large, e.g. (content APIs, security APIs, etc.).

The RADL user documentation can do a better job in the area of API Reference Manual. One problem is the rendered HTML page for RADL documentation could be super large (take Documentum extended REST Services as an example) and is not easy for read, especially for the overview of its state transition.