-
-
Notifications
You must be signed in to change notification settings - Fork 780
Expand file tree
/
Copy pathCollectionFormat.cs
More file actions
39 lines (34 loc) · 922 Bytes
/
CollectionFormat.cs
File metadata and controls
39 lines (34 loc) · 922 Bytes
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
namespace Refit
{
/// <summary>
/// Collection format defined in https://swagger.io/docs/specification/2-0/describing-parameters/
/// </summary>
public enum CollectionFormat
{
/// <summary>
/// Values formatted with <see cref="RefitSettings.UrlParameterFormatter"/> or
/// <see cref="RefitSettings.FormUrlEncodedParameterFormatter"/>.
/// </summary>
RefitParameterFormatter,
/// <summary>
/// Comma-separated values
/// </summary>
Csv,
/// <summary>
/// Space-separated values
/// </summary>
Ssv,
/// <summary>
/// Tab-separated values
/// </summary>
Tsv,
/// <summary>
/// Pipe-separated values
/// </summary>
Pipes,
/// <summary>
/// Multiple parameter instances
/// </summary>
Multi
}
}