Replies: 5 comments
-
|
This talk has a good example of some workflows by documentation writers: https://passo.uno/posts/how-to-assist-api-design-as-a-technical-writer/ |
Beta Was this translation helpful? Give feedback.
-
|
Documentation authors are also often in the position of adding more than just Another possible use-case is to report on these changes to the developer and then again to the documentor.
|
Beta Was this translation helpful? Give feedback.
-
|
Existing/Prior work for this use-case |
Beta Was this translation helpful? Give feedback.
-
|
Added an example of a code-first generated OpenAPI definition and a small Overlay file that patches/fixes it. |
Beta Was this translation helpful? Give feedback.
-
|
This was a useful discussion, but it's a bit outdated so I'm closing it |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is to explore the use case of separating the machine generated API definition (via annotated code, traffic inference, etc) and the human-facing documentation (summary, description, etc). For context, we're thinking of OpenAPI definitions but this could apply to others (ie: AsyncAPI, etc).
There are cases when documentation writers need to dive into codebases to make these changes and Overlays can help alleviate that need.
It's also possible to create different documentation for different audiences (cough maybe even i11n/multi-lingual support).
The use case appears straightforward. Take a base document and an overlay document to produce a final document.
What appears to be more interesting is adding append/prepend actions as ways of extending strings, specifically
description(thanks @hkosova for the idea)!Beta Was this translation helpful? Give feedback.
All reactions