Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
95AC
8000
Uh oh!
There was an error while loading. Please reload this page.
I maintain sourcey, an open-source docs engine, and I rebuilt the Admin REST API page (docs-api//rest-api/) from the openapi.json published beside it, at its own address: https://sourcey-keycloak.pages.dev/docs-api/latest/rest-api/
What it does:
_parameters_7and the rest), and each model.On the same machine, opening the operation that lists a realm's users downloads 50 KB in 6 requests instead of 265 KB in 8, lays out 2,700 elements instead of 124,000, and shows its content in 0.24 s instead of 0.98 s.
One thing I found along the way: the 31 Authorization Services operations under
/authz/resource-servercarry no tag or summary in the OpenAPI document, so today's page files them under "default". The rebuild names that section as the console does, client authorization, and keeps its anchor. Tagging them in the source would fix it for every consumer of openapi.json.The question is whether you'd take this into the release docs build. It would replace the openapi-generator asciidoc step in
serviceswith a sourcey build over the same openapi.json, writing a static folder to the same docs-api//rest-api/ path. If that's of interest, I'll open the issue and the PR in whatever shape suits the build.Kam / maintainer, sourcey
All reactions