You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your API requires the introduction of breaking changes you must add Revisions annotations to the API definition with the following terms:
3
+
If your API requires the introduction of breaking changes, you must add Revisions annotations to the API definition with the following terms:
4
4
5
-
6
-
- Date: Date when the element was marked as deprecated.
7
-
- Version: Used to organize the ChangeLog. Use the format "YYYY-MM/Category" where "YYYY-MM" is the month the deprecation is announced, and "Category" is the category under which the change is described.
8
-
- Kind: Deprecated -
9
-
- Description: Human readable description of the change: Used in changelog, documentation etc.
10
-
- RemovalDate: Earliest date when the element may be removed.
5
+
-**Date:** Date when the element was marked as deprecated.
6
+
-**Version:** Used to organize the ChangeLog. Use the format "YYYY-MM/Category", where "YYYY-MM" is the month the deprecation is announced, and "Category" is the category under which the change is described.
7
+
-**Kind:** Deprecated
8
+
-**Description:** Human readable description of the change. Used in ChangeLog, documentation, etc.
9
+
-**RemovalDate:** Earliest date when the element can be removed.
11
10
12
-
The annotation can be applied to a type, an entity set, a singleton,a property, a
13
-
navigation property, a function or an action. If a type is marked as deprecated, it
11
+
The annotation can be applied to a type, an entity set, a singleton,a property, a
12
+
navigation property, a function, or an action. If a type is marked as deprecated, it
14
13
is not necessary to mark the members of that type as deprecated, nor is it necessary
@@ -32,15 +31,13 @@ to annotate any usages of that type.
32
31
</EntityType>
33
32
```
34
33
35
-
When the request URL contains a reference to a deprecated model element, the gateway will add a [Deprecation
36
-
header](https://tools.ietf.org/html/draft-dalal-deprecation-header-02) (with the
37
-
date the element was marked as deprecated) and a Sunset header (with the date of 2
38
-
years beyond the Deprecation date) to the response.
34
+
When the request URL contains a reference to a deprecated model element, the gateway adds a [Deprecation header](https://tools.ietf.org/html/draft-dalal-deprecation-header-02) (with the date the element was marked as deprecated) and a Sunset header (with the date of two years beyond the deprecation date) to the response.
Copy file name to clipboardExpand all lines: graph/patterns/dictionary.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,8 @@ Before using a dictionary type in your API definition, make sure that your scena
24
24
25
25
### Alternatives
26
26
27
-
-[Open extensions](https://docs.microsoft.com/en-us/graph/extensibility-open-users) when you want to provide clients the ability to extend Microsoft Graph.
28
-
-[Complex types](https://docs.microsoft.com/en-us/odata/webapi/complextypewithnavigationproperty) when the set of data values are known.
27
+
-[Open extensions](https://docs.microsoft.com/graph/extensibility-open-users) when you want to provide clients the ability to extend Microsoft Graph.
28
+
-[Complex types](https://docs.microsoft.com/odata/webapi/complextypewithnavigationproperty) when the set of data values are known.
Copy file name to clipboardExpand all lines: graph/patterns/facets.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ In this solution, a child variant is identified by the presence of one or more f
19
19
20
20
The facet pattern is useful when there is a number of variants and they are not mutually exclusive. It also makes it syntactically easier to query resources by using OData $filter expression because it doesn't require casting.
21
21
22
-
You can consider related patterns such as [Type hierarchy](https://github.com/microsoft/api-guidelines/tree/graph/graph) and [Flat bag of properties](https://github.com/microsoft/api-guidelines/tree/graph/graph).
22
+
You can consider related patterns such as [Type hierarchy](./subtypes.md) and Flat bag of properties.
Copy file name to clipboardExpand all lines: graph/patterns/namespace.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ We recommend that a new namespace be aligned with a top-level API category.
38
38
39
39
- Microsoft Graph consistency requirements discourage using the same type names for different concepts even within different namespaces. Microsoft Graph type names must be descriptive and unique within the API surface without requiring full qualification.
40
40
41
-
- A namespace must be consistent with an API category in the navigation path according to [Microsoft Graph REST API Guidelines](GuidelinesGraph.md#uniform-resource-locators-urls).
41
+
- A namespace must be consistent with an API category in the navigation path according to [Microsoft Graph REST API Guidelines](../GuidelinesGraph.md#uniform-resource-locators-urls).
42
42
43
43
- When type name is ambiguous and requires a namespace qualifier, changing a namespace is a breaking change.
Copy file name to clipboardExpand all lines: graph/patterns/subtypes.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,9 @@ subtype for each variant of the resource. In the hierarchy, the interdependencie
20
20
## When to use this pattern
21
21
22
22
Use this pattern where each variant of a common concept has its own unique properties and behaviors,
23
-
no combination of variants is anticipated,
24
-
and it is acceptable that callers who need to query resources by variant are adequately served by filtering or partitioning using type casting.
23
+
no combination of variants is anticipated, and it is acceptable that callers who need to query resources by variant are adequately served by filtering or partitioning using type casting.
25
24
26
-
Related patterns are
27
-
[Facets](facets.md) and
28
-
[Flat bag of properties](flatbag.md).
25
+
Related patterns are [Facets](./facets.md) and Flat bag of properties.
0 commit comments