无法在swagger UI中获取示例字段值。@ApiOperation(value = "Sample API to test swagger doc", response = SampleResponse.class)pom.xml <groupId>io.springfox</groupId>
<artifactId>springfox-swagg
我的项目使用spring cloud oauth通过"/oauth/token“端点对用户进行身份验证,但我找不到任何方法在swagger ui上显示此api操作。我该怎么办?Swagger配置: @EnableSwagger2public class SwaggerConfiguration { public DocketproductApi() {
return new Docket(DocumentationTy