Skip to content

NCL-9585 Enable and fix swagger. #618

Merged
rnc merged 2 commits intoproject-ncl:masterfrom
rnc:NCL9585
Mar 23, 2026
Merged

NCL-9585 Enable and fix swagger. #618
rnc merged 2 commits intoproject-ncl:masterfrom
rnc:NCL9585

Conversation

@rnc
Copy link
Copy Markdown
Contributor

@rnc rnc commented Mar 13, 2026

Requires #615 merged first.

Uses inspiration from @thescouser89's Dingrogu to add a similar index page.

@rnc rnc changed the title Ncl9585 NCL-9585 Enable and fix swagger. Mar 13, 2026
@rnc rnc marked this pull request as ready for review March 23, 2026 11:25
@rnc rnc requested review from jomrazek and thescouser89 and removed request for thescouser89 March 23, 2026 11:27
license = @License(name = "Apache 2.0", url = "https://www.apache.org/licenses/LICENSE-2.0.html"),
version = DA_VERSION),
servers = { @Server(url = "/da", description = "Dependency Analyzer") },
servers = { @Server(url = "/", description = "Dependency Analyzer") },
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We will need to change this in all services using it right? And possibly communicate it in case other teams use DA directly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Isn't that just used for the openapi definition? Although I do agree that the Quarkus app in the prior PR creates the REST API on '/rest/api...'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Discussed offline - that @Server annotation is only for OpenAPI. However Quarkus does deploy differently so we will need to change other service configs eventually.

@rnc rnc merged commit 990b34b into project-ncl:master Mar 23, 2026
1 of 2 checks passed
@rnc rnc deleted the NCL9585 branch March 23, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants