Skip to content

Commit

Permalink
Merge pull request #46067 from gastaldi/swagger_ui
Browse files Browse the repository at this point in the history
Swagger UI: Move to use `@ConfigMapping`
  • Loading branch information
gastaldi authored Feb 4, 2025
2 parents 392dbf0 + e77d510 commit 466de83
Show file tree
Hide file tree
Showing 7 changed files with 195 additions and 250 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public CardPageBuildItem pages(NonApplicationRootPathBuildItem nonApplicationRoo
SwaggerUiConfig swaggerUiConfig,
SmallRyeOpenApiConfig openApiConfig) {

String uiPath = nonApplicationRootPathBuildItem.resolveManagementPath(swaggerUiConfig.path,
String uiPath = nonApplicationRootPathBuildItem.resolveManagementPath(swaggerUiConfig.path(),
managementBuildTimeConfig, launchModeBuildItem, openApiConfig.managementEnabled());

String schemaPath = nonApplicationRootPathBuildItem.resolveManagementPath(openApiConfig.path(),
Expand Down
3 changes: 0 additions & 3 deletions extensions/swagger-ui/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@
<version>${project.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-AlegacyConfigRoot=true</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
Expand Down
Loading

0 comments on commit 466de83

Please sign in to comment.