Skip to content

Docs for Client v2: Generated API documentation from the OpenAPI specification#48001

Open
michalvavrik wants to merge 1 commit intokeycloak:mainfrom
michalvavrik:feature/admin-api-v2-doc-gen
Open

Docs for Client v2: Generated API documentation from the OpenAPI specification#48001
michalvavrik wants to merge 1 commit intokeycloak:mainfrom
michalvavrik:feature/admin-api-v2-doc-gen

Conversation

@michalvavrik
Copy link
Copy Markdown
Member

@michalvavrik michalvavrik commented Apr 13, 2026

Generates Admin API v2 API documentation, with examples how to use individual clients (Java, JS, CLI).

Example how HTML page is generated:

index.html

If you want to test it locally, you can do:

mvn install -am -pl docs/documentation -Pdocumentation -DskipTests

and navigate to: keycloak/docs/guides/target/generated-docs/api/index.html

Copy link
Copy Markdown

@keycloak-github-bot keycloak-github-bot Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unreported flaky test detected, please review

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR.

org.keycloak.testsuite.model.session.UserSessionProviderModelTest#testStreamsMarshalling

Keycloak CI - Store Model Tests

java.lang.AssertionError: 
threads didn't terminate in time: [main (RUNNABLE):
	at [email protected]/sun.management.ThreadImpl.dumpThreads0(Native Method)
	at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:505)
	at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:493)
...

Report flaky test

@michalvavrik
Copy link
Copy Markdown
Member Author

@keycloak/cloud-native I have put everyone in the review request, but it is your call if you have time and want to review. Thanks

@vmuzikar vmuzikar added the status/hold PR should not be merged. On hold for later. label Apr 13, 2026
@vmuzikar
Copy link
Copy Markdown
Contributor

Adding the hold label to not accidentally merge this.

Comment thread docs/guides/api/admin-api-v2.adoc Outdated
* Closes: keycloak#47983

Generates Admin API v2 API documentation, with examples how to use individual clients (Java, JS, CLI).

Signed-off-by: Michal Vavřík <[email protected]>
@michalvavrik michalvavrik force-pushed the feature/admin-api-v2-doc-gen branch from f7072f6 to 708626b Compare April 27, 2026 19:37
@michalvavrik
Copy link
Copy Markdown
Member Author

Resolved merge conflicts and adapted to the current main.

Copy link
Copy Markdown

@keycloak-github-bot keycloak-github-bot Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unreported flaky test detected, please review

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR.

org.keycloak.testsuite.model.session.OfflineSessionPersistenceTest#testPersistenceClientSessionsMultipleNodes

Keycloak CI - Store Model Tests

java.lang.AssertionError: 
threads didn't terminate in time: [main (TIMED_WAITING): locked on java.util.concurrent.FutureTask@670195b2 waiting for 90025 ms blocked for 0 ms
	at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
	at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:271)
	at [email protected]/java.util.concurrent.FutureTask.awaitDone(FutureTask.java:508)
...

Report flaky test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flaky-test status/hold PR should not be merged. On hold for later. team/cloud-native team/ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs for Client v2: Generated docs from the OpenAPI spec

3 participants