-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate static documentation of REST API based on existing OpenAPI specification #444
Comments
Links about generator based on OpenAPI specs : |
Generated static html page with Redoc hosted here as a sample : https://bonita-api-doc.netlify.app/ More control is available from https://redocly.com/docs/api-reference-docs/guides/on-premise-cli-build/ but only for enterprise plan 😬 |
Spec versioning (hence multiple doc version hosting) should be supported. For now, there were no API break but this will come in future Bonita releases. |
An interesting option seems to be hosting Redoc pages in a dedicated site referenced by main Bonita documentation.
and also :
|
Question remains, do we orchestrate deployment from a separate repository and keep all html/site stuff there and only the spec in bonta-openapi repository ? Or do we try to merge and handle all this stuff from the existing repository (keeping close editing and rendering) |
PoC in progress in OpenAPI spec repository bonitasoft/bonita-openapi#60 |
This issue is closed with the work around this subject. We created a repository https://github.com/bonitasoft/bonita-rest-documentation-site and the production site is available here I will close this issue. If some issue is found, please open it on dedicated GitHub repository |
Bonita OpenAPI specification lives in this repository https://github.com/bonitasoft/bonita-openapi.
But a kind of duplicate lives in bonita-doc repository as static asciidoc file (https://github.com/bonitasoft/bonita-doc/blob/2022.2/modules/api/pages/rest-api-overview.adoc).
This situation can lead to a desynchronization between the two API documentations 😟 .
Developer often ask for an OpenAPI spec of Bonita REST APIs. (Some might want to generate client code from spec, so yaml format exposure is required).
Every other want to browse/search documentation for their implementations (required to be SSO friendly).
Important: OpenAPI specification has its own lifecycle (not bound to Bonita versions). This means that the same documentation is used for many Bonita versions ( = many documentation versions)
Two options:
Useful links:
Formerly requested with #39
The text was updated successfully, but these errors were encountered: