[英]swagger, Spring, Spring boot
I have a Spring boot application . 我有一个Spring Boot应用程序。 The endpoint gets listed on Swagger Ui.
端点在Swagger Ui上列出。 However the Authorize Button is not showing up.
但是,授权按钮未显示。 I am using Swagger core version 1.5.* .
我正在使用Swagger核心版本1.5。*。 What version of swagger ui do I need for this.
我需要什么版本的swagger ui。 I have added @SwaggerDefinition annotation to the code but that is not helping.
我在代码中添加了@SwaggerDefinition批注,但这无济于事。
您可以使用2.0以上的SWAGGER版本, 在这里您可以找到如何在应用程序中添加身份验证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.