mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 22:58:01 +03:00
44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Generator
|
|
{
|
|
public class WebApiDefinition
|
|
{
|
|
public class ApiList
|
|
{
|
|
public Interface[] interfaces { get; set; }
|
|
|
|
public class Interface
|
|
{
|
|
public string name { get; set; }
|
|
|
|
public Method[] methods { get; set; }
|
|
|
|
public class Method
|
|
{
|
|
public string name { get; set; }
|
|
public int version { get; set; }
|
|
public string httpmethod { get; set; }
|
|
|
|
public Parameter[] parameters { get; set; }
|
|
|
|
public class Parameter
|
|
{
|
|
public string name { get; set; }
|
|
public string type { get; set; }
|
|
public bool optional { get; set; }
|
|
public string description { get; set; }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public ApiList apilist { get; set; }
|
|
}
|
|
}
|