You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
755 B
33 lines
755 B
using System; |
|
using System.Collections.Generic; |
|
using System.Net.Http; |
|
using System.Text; |
|
|
|
namespace ReZero.SuperAPI |
|
{ |
|
[AttributeUsage(AttributeTargets.Method)] |
|
public class ApiMethodAttribute : Attribute |
|
{ |
|
public string? Url { get; set; } |
|
public string? GroupName { get; set; } |
|
public HttpType HttpMethod { get; set; } |
|
internal string? Description { get; set; } |
|
public ApiMethodAttribute(string description) |
|
{ |
|
this.Description = description; |
|
} |
|
} |
|
[AttributeUsage(AttributeTargets.Method)] |
|
public class UrlParametersAttribute : Attribute |
|
{ |
|
|
|
} |
|
|
|
public enum HttpType |
|
{ |
|
Post=0, |
|
Get=1, |
|
Put=2, |
|
Delete=3 |
|
} |
|
}
|
|
|