oh checkstyle :)

This commit is contained in:
2023-03-29 19:39:11 -05:00
parent 037d67dd38
commit f15f63b021

View File

@ -144,10 +144,10 @@ public class GenerateOpenApiSpecAction extends AbstractQActionFunction<GenerateO
);
LinkedHashMap<String, String> scopes = new LinkedHashMap<>();
// todo, or not todo? .withScopes(scopes)
securitySchemes.put("OAuth2", new OAuth2()
.withFlows(MapBuilder.of("clientCredentials", new OAuth2Flow()
.withTokenUrl("/api/oauth/token")
// .withScopes(scopes)
.withTokenUrl("/api/oauth/token")
))
);
componentSchemas.put("baseSearchResultFields", new Schema()