Skip to content
Snippets Groups Projects
Commit c61610a1 authored by Georgios Diamantopoulos's avatar Georgios Diamantopoulos
Browse files

allow empty classes to be generated

parent 7a9d957d
No related branches found
No related tags found
No related merge requests found
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Network
{
/// <summary>
/// Request / response headers as keys / values of JSON object.
/// </summary>
[SupportedBy("Chrome")]
public class Headers
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Tracing
{
/// <summary>
/// Configuration for memory dump. Used only when "memory-infra" category is enabled.
/// </summary>
[SupportedBy("Chrome")]
public class MemoryDumpConfig
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.iOS.Network
{
/// <summary>
/// Request / response headers as keys / values of JSON object.
/// </summary>
[SupportedBy("iOS")]
public class Headers
{
}
}
......@@ -331,7 +331,8 @@ namespace MasterDevs.ChromeDevTools.ProtocolGenerator
{
if (null == type) return;
if (type.Enum.Any()) WriteTypeEnum(domainDirectoryInfo, ns, type);
if (type.Properties.Any()) WriteTypeClass(domainDirectoryInfo, ns, type);
/*if (type.Properties.Any())*/
WriteTypeClass(domainDirectoryInfo, ns, type);
WriteTypeSimple(domainDirectoryInfo, type);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment