mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-25 11:45:49 +01:00
OpenApiResource: Remove name from OAuth SecurityScheme (#2422)
Signed-off-by: Paul Vogel <github@paulvogel.me>
This commit is contained in:
parent
7e5bf34d9e
commit
621d6eac1a
@ -159,7 +159,6 @@ public class OpenApiResource implements RESTResource {
|
||||
flows.setAuthorizationCode(authorizationCode);
|
||||
|
||||
SecurityScheme securityScheme = new SecurityScheme();
|
||||
securityScheme.setName("oauth2");
|
||||
securityScheme.setType(SecurityScheme.Type.OAUTH2);
|
||||
securityScheme.setFlows(flows);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user