mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
oh checkstyle :)
This commit is contained in:
@ -144,10 +144,10 @@ public class GenerateOpenApiSpecAction extends AbstractQActionFunction<GenerateO
|
|||||||
);
|
);
|
||||||
|
|
||||||
LinkedHashMap<String, String> scopes = new LinkedHashMap<>();
|
LinkedHashMap<String, String> scopes = new LinkedHashMap<>();
|
||||||
|
// todo, or not todo? .withScopes(scopes)
|
||||||
securitySchemes.put("OAuth2", new OAuth2()
|
securitySchemes.put("OAuth2", new OAuth2()
|
||||||
.withFlows(MapBuilder.of("clientCredentials", new OAuth2Flow()
|
.withFlows(MapBuilder.of("clientCredentials", new OAuth2Flow()
|
||||||
.withTokenUrl("/api/oauth/token")
|
.withTokenUrl("/api/oauth/token")
|
||||||
// .withScopes(scopes)
|
|
||||||
))
|
))
|
||||||
);
|
);
|
||||||
componentSchemas.put("baseSearchResultFields", new Schema()
|
componentSchemas.put("baseSearchResultFields", new Schema()
|
||||||
|
Reference in New Issue
Block a user