-
Notifications
You must be signed in to change notification settings - Fork 717
Expand file tree
/
Copy pathApiVersionProviderOptions.cs
More file actions
41 lines (35 loc) · 1.33 KB
/
ApiVersionProviderOptions.cs
File metadata and controls
41 lines (35 loc) · 1.33 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
// Copyright (c) .NET Foundation and contributors. All rights reserved.
namespace Asp.Versioning;
/// <summary>
/// Represents the possible API version provider options.
/// </summary>
[Flags]
public enum ApiVersionProviderOptions
{
/// <summary>
/// Indicates no options.
/// </summary>
None,
/// <summary>
/// Indicates the provided API versions are deprecated.
/// </summary>
Deprecated = 1,
/// <summary>
/// Indicates the provided API versions are only advertised.
/// </summary>
/// <remarks>Advertised service API versions indicate the existence of other versioned services,
/// but the implementation of those services are implemented elsewhere.</remarks>
Advertised = 2,
/// <summary>
/// Indicates the provided API versions are only mapped.
/// </summary>
/// <remarks>Mapped API versions indicate that the defined API versions are used for only meant
/// to be used for mapping purposes. This option should not typically be combined with other options.</remarks>
Mapped = 4,
/// <summary>
/// Indicates the provided API versions describe when an API was introduced.
/// </summary>
/// <remarks>Introduced API versions are expanded into mapped API versions from the controller-declared
/// API version set.</remarks>
Introduced = 8,
}