-
Notifications
You must be signed in to change notification settings - Fork 275
Expand file tree
/
Copy pathOperationType.cs
More file actions
53 lines (44 loc) · 1.36 KB
/
OperationType.cs
File metadata and controls
53 lines (44 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using Microsoft.OpenApi.Attributes;
namespace Microsoft.OpenApi.Models
{
/// <summary>
/// Operation type.
/// </summary>
public enum OperationType
{
/// <summary>
/// A definition of a GET operation on this path.
/// </summary>
[Display("get")] Get,
/// <summary>
/// A definition of a PUT operation on this path.
/// </summary>
[Display("put")] Put,
/// <summary>
/// A definition of a POST operation on this path.
/// </summary>
[Display("post")] Post,
/// <summary>
/// A definition of a DELETE operation on this path.
/// </summary>
[Display("delete")] Delete,
/// <summary>
/// A definition of a OPTIONS operation on this path.
/// </summary>
[Display("options")] Options,
/// <summary>
/// A definition of a HEAD operation on this path.
/// </summary>
[Display("head")] Head,
/// <summary>
/// A definition of a PATCH operation on this path.
/// </summary>
[Display("patch")] Patch,
/// <summary>
/// A definition of a TRACE operation on this path.
/// </summary>
[Display("trace")] Trace
}
}