Added support for sub types in the C# client code generator. Bumped package version to 1.4.0

This commit is contained in:
2023-03-24 06:52:00 -07:00
parent fafdb48d51
commit e8735d8764
4 changed files with 45 additions and 17 deletions

View File

@ -17,6 +17,17 @@ namespace MontoyaTech.Rest.Net.Example
public string Id;
public UserRole Role { get; set; }
public List<Permission> Permissions;
public class Permission
{
public string Name;
public Types Type;
public enum Types { Read, Write }
}
}
public class User : BaseUser