Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot 显示无效图像的招摇过市UI页面_Spring Boot_Docker_Dockerfile_Swagger Ui_Azure Aks - Fatal编程技术网

Spring boot 显示无效图像的招摇过市UI页面

Spring boot 显示无效图像的招摇过市UI页面,spring-boot,docker,dockerfile,swagger-ui,azure-aks,Spring Boot,Docker,Dockerfile,Swagger Ui,Azure Aks,大摇大摆的用户界面显示在页面底部的节点图像下方。为什么?如何将其删除或隐藏。 我们正在使用SpringBootRESTAPI <span style="float: right;"><a target="_blank" href="https://online.swagger.io/validator/debug?url=<some DNS>/swagger/api-docs?group={some group i

大摇大摆的用户界面显示在页面底部的节点图像下方。为什么?如何将其删除或隐藏。 我们正在使用SpringBootRESTAPI

 <span style="float: right;"><a target="_blank" href="https://online.swagger.io/validator/debug?url=<some DNS>/swagger/api-docs?group={some group info}"><img alt="Online validator badge" src="https://online.swagger.io/validator?url=<some DNS>/swagger/api-docs?group={some group info}"></a></span>


将docker部署到Azure Kubernetes群集后获取此映像。当我在本地热服务器上运行应用程序时,我不会遇到这个问题。

使用下面的代码禁用验证器对我来说很有效

@Bean
    UiConfiguration uiConfig() {
        return UiConfigurationBuilder.builder()
            .displayRequestDuration(true)
            .validatorUrl(null)
            .build();
    }