@@ -12,30 +12,30 @@ namespace NSwag
12
12
public static class OpenApiOperationMethod
13
13
{
14
14
/// <summary>An undefined method.</summary>
15
- public static string Undefined { get ; } = "undefined" ;
15
+ public const string Undefined = "undefined" ;
16
16
17
17
/// <summary>The HTTP GET method. </summary>
18
- public static string Get { get ; } = "get" ;
18
+ public const string Get = "get" ;
19
19
20
20
/// <summary>The HTTP POST method. </summary>
21
- public static string Post { get ; } = "post" ;
21
+ public const string Post = "post" ;
22
22
23
23
/// <summary>The HTTP PUT method. </summary>
24
- public static string Put { get ; } = "put" ;
24
+ public const string Put = "put" ;
25
25
26
26
/// <summary>The HTTP DELETE method. </summary>
27
- public static string Delete { get ; } = "delete" ;
27
+ public const string Delete = "delete" ;
28
28
29
29
/// <summary>The HTTP OPTIONS method. </summary>
30
- public static string Options { get ; } = "options" ;
30
+ public const string Options = "options" ;
31
31
32
32
/// <summary>The HTTP HEAD method. </summary>
33
- public static string Head { get ; } = "head" ;
33
+ public const string Head = "head" ;
34
34
35
35
/// <summary>The HTTP PATCH method. </summary>
36
- public static string Patch { get ; } = "patch" ;
36
+ public const string Patch = "patch" ;
37
37
38
38
/// <summary>The HTTP TRACE method (OpenAPI only). </summary>
39
- public static string Trace { get ; } = "trace" ;
39
+ public const string Trace = "trace" ;
40
40
}
41
41
}
0 commit comments