-
Notifications
You must be signed in to change notification settings - Fork 122
Feat/swagger UI overhaul #568
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
45578bd
feat(swagger): organize 38 @Tag annotations into 9 numbered groups an…
ginccc 248ee2e
fix(swagger): sort tags alphabetically and match Manager dark-mode zi…
ginccc 0002986
refactor(swagger): category-based tag naming, fix encoding, strengthe…
ginccc 2ece7eb
feat(swagger): add descriptions to all @Tag annotations, fix badge co…
ginccc bf50a4e
chore: bump version to 6.1.1 for release
ginccc f8ef73a
feat(swagger): proper light/dark mode toggle support
ginccc 1dd7083
fix: address PR review comments (Copilot + CodeRabbit)
ginccc 248a3ca
chore: merge origin/main — resolve changelog conflict
ginccc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
src/main/java/ai/labs/eddi/configs/OpenApiTagSortFilter.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| /* | ||
| * Copyright EDDI contributors | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
| package ai.labs.eddi.configs; | ||
|
|
||
| import io.quarkus.smallrye.openapi.OpenApiFilter; | ||
| import org.eclipse.microprofile.openapi.OASFilter; | ||
| import org.eclipse.microprofile.openapi.models.OpenAPI; | ||
|
|
||
| import java.util.Comparator; | ||
|
|
||
| /** | ||
| * Sorts OpenAPI tags alphabetically at build time, producing a stable, | ||
| * logically grouped order in Swagger UI and all API consumers. | ||
| * | ||
| * @since 6.1.1 | ||
| */ | ||
| @OpenApiFilter(OpenApiFilter.RunStage.BUILD) | ||
| public class OpenApiTagSortFilter implements OASFilter { | ||
|
|
||
| @Override | ||
| public void filterOpenAPI(OpenAPI openAPI) { | ||
| if (openAPI.getTags() != null) { | ||
| var sorted = new java.util.ArrayList<>(openAPI.getTags()); | ||
| sorted.sort(Comparator.comparing( | ||
| org.eclipse.microprofile.openapi.models.tags.Tag::getName)); | ||
| openAPI.setTags(sorted); | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🔴 Critical
🧩 Analysis chain
🏁 Script executed:
Repository: labsai/EDDI
Length of output: 427
🌐 Web query:
UBI9 OpenJDK 25 runtime registry.access.redhat.com ubi9/openjdk-25-runtime:1.24 digest sha256:2aed9f3a5fac4def355ac36d5c59c7a3067857da424adaa9c6929ff71310467e💡 Result:
The container image registry.access.redhat.com/ubi9/openjdk-25-runtime:1.24 is an official Red Hat Universal Base Image (UBI) 9 runtime image for OpenJDK 25 [1][2][3][4]. Regarding the specific digest you provided (sha256:2aed9f3a5fac4def355ac36d5c59c7a3067857da424adaa9c6929ff71310467e): According to official Red Hat advisory records (such as RHBA-2026:1458), this specific digest does not appear in the lists of confirmed, released container image digests for the ubi9/openjdk-25-runtime image [5]. Official Red Hat container images are periodically updated with new digests as part of regular errata and security patching processes [6][5]. If you are attempting to pull this specific image, it is recommended to verify the tag and digest directly against the Red Hat Ecosystem Catalog to ensure you are using a trusted, supported version [1]. You can inspect the latest digests for this image by using the
skopeoorpodmancommand-line tools to query the Red Hat registry [1].Citations:
🌐 Web query:
Red Hat UBI9 OpenJDK 25 runtime CVE vulnerabilities security advisories💡 Result:
Red Hat provides official Universal Base Image (UBI) 9 container images for OpenJDK 25, including both full JDK and runtime-only variants [1][2][3][4]. These images are available through the Red Hat Ecosystem Catalog and are maintained as part of Red Hat's containerized middleware portfolio [1][2][5]. Security and bug fix updates for these images are issued through Red Hat's standard advisory channels. Because container images are periodically updated to include the latest patches, users are advised to use the most recent image tags and regularly rebuild their dependent applications [6][7][8]. For security-specific information, Red Hat publishes Security Advisories (RHSA) when vulnerabilities are identified and patched within the OpenJDK packages [9][10]. As of June 2026, recent security updates for OpenJDK 25 have addressed multiple vulnerabilities, including issues related to cryptography, TLS handling, and third-party library dependencies (such as libpng and giflib) [9]. Users should monitor the Red Hat Errata and Security Data pages for their specific environment to track new CVEs and available patches [9][10]. Key resources for tracking and managing these updates include: - Red Hat Ecosystem Catalog: The official source for discovering and pulling verified UBI-based OpenJDK images [1][2]. - Red Hat Errata (RHSA/RHBA): The definitive source for security advisories and bug fixes [6][9]. - Red Hat OpenJDK Container Documentation: Provides configuration details and image metadata [5].
Citations:
🌐 Web query:
registry.access.redhat.com ubi9/openjdk-25-runtime:1.24 Red Hat official image💡 Result:
The image registry.access.redhat.com/ubi9/openjdk-25-runtime:1.24 is an official Red Hat container image [1]. It is based on the Red Hat Universal Base Image 9 (UBI9) and is designed to provide a runtime environment for Java applications using OpenJDK 25 [1][2]. Key details about this image: - Purpose: It provides a hardened, enterprise-ready environment specifically for running Java applications (fat-jar and flat classpath) [2]. - Base Layer: The image is built upon the Red Hat UBI9 minimal image [2]. - Maintenance: It is part of the Red Hat OpenJDK container images project, with documentation and source code maintained in the Red Hat OpenJDK GitHub repository [2][3][4]. - Usage: The image is widely recognized in ecosystems such as Quarkus, where it serves as a default base image for containerizing Java applications built with OpenJDK 25 or higher [5]. - Versioning: The 1.24 tag refers to the version of the container image build, and it may receive periodic updates to the underlying packages (represented by longer tag suffixes) [2][6]. You can find the official catalog entry and further documentation through the Red Hat Ecosystem Catalog and the dedicated project documentation pages [1][3].
Citations:
The specified digest does not exist in official Red Hat records and must be replaced with a valid digest.
The digest
sha256:2aed9f3a5fac4def355ac36d5c59c7a3067857da424adaa9c6929ff71310467eforregistry.access.redhat.com/ubi9/openjdk-25-runtime:1.24does not appear in the confirmed, released container image digests according to Red Hat advisory RHBA-2026:1458. Using an unverified or non-existent digest violates OpenSSF supply-chain compliance. Verify the correct digest by querying the Red Hat Ecosystem Catalog directly withskopeo inspect docker://registry.access.redhat.com/ubi9/openjdk-25-runtime:1.24and update the FROM directive with the official digest.🤖 Prompt for AI Agents