///<summary>
/// The auth flow model
///</summary>
public partial class AuthFlow
{
public Type { get; set; }
public string TokenUrl { get; } = "https://api.example.com/oauth2/token";
public string RefreshUrl { get; } = "https://api.example.com/oauth2/refresh";
public {
"https://api.example.com/.default"
}
Scopes { get; set; }
}
and this piece of code (the Scopes part) cannot compile.
I copied one of our test projects in csharp client generator, it has an auth model:
This is generated incorrectly:
and this piece of code (the
Scopes
part) cannot compile.