Add editorconfig and analyzers, format backend code
This commit is contained in:
@@ -37,7 +37,7 @@ public sealed class OpenApiOptionsSetup(IOptions<AuthenticationConfiguration> op
|
||||
};
|
||||
|
||||
return Task.CompletedTask;
|
||||
} );
|
||||
});
|
||||
|
||||
options.AddSchemaTransformer((schema, context, _) =>
|
||||
{
|
||||
@@ -48,7 +48,7 @@ public sealed class OpenApiOptionsSetup(IOptions<AuthenticationConfiguration> op
|
||||
}
|
||||
|
||||
return Task.CompletedTask;
|
||||
} );
|
||||
});
|
||||
|
||||
options.AddOperationTransformer((operation, context, _) =>
|
||||
{
|
||||
@@ -70,9 +70,9 @@ public sealed class OpenApiOptionsSetup(IOptions<AuthenticationConfiguration> op
|
||||
{
|
||||
[new OpenApiSecuritySchemeReference(SecuritySchemeId, context.Document)] =
|
||||
_configuration.Scopes.ToList(),
|
||||
} );
|
||||
});
|
||||
|
||||
return Task.CompletedTask;
|
||||
} );
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user