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
Copy file name to clipboardExpand all lines: .github/policies/OpenAPI.NET.OData-branch-protection.yml
+38-2Lines changed: 38 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,45 @@ resource: repository
9
9
configuration:
10
10
branchProtectionRules:
11
11
12
-
- branchNamePattern: master
12
+
- branchNamePattern: main
13
13
# This branch pattern applies to the following branches as of 06/09/2024 20:45:44:
14
-
# master
14
+
# main
15
+
16
+
# Specifies whether this branch can be deleted. boolean
17
+
allowsDeletions: false
18
+
# Specifies whether forced pushes are allowed on this branch. boolean
19
+
allowsForcePushes: false
20
+
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
21
+
dismissStaleReviews: true
22
+
# Specifies whether admins can overwrite branch protection. boolean
23
+
isAdminEnforced: false
24
+
# Indicates whether "Require a pull request before merging" is enabled. boolean
25
+
requiresPullRequestBeforeMerging: true
26
+
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
27
+
requiredApprovingReviewsCount: 1
28
+
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
29
+
requireCodeOwnersReview: true
30
+
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
31
+
requiresCommitSignatures: false
32
+
# Are conversations required to be resolved before merging? boolean
33
+
requiresConversationResolution: true
34
+
# Are merge commits prohibited from being pushed to this branch. boolean
35
+
requiresLinearHistory: false
36
+
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
37
+
requiredStatusChecks:
38
+
- license/cla
39
+
- Continuous Integration
40
+
- CodeQL
41
+
# Require branches to be up to date before merging. This should be false since the repo contains autogenerated files. boolean
42
+
requiresStrictStatusChecks: false
43
+
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
44
+
restrictsPushes: false
45
+
# Restrict who can dismiss pull request reviews. boolean
46
+
restrictsReviewDismissals: false
47
+
48
+
- branchNamePattern: support/v1
49
+
# This branch pattern applies to the following branches as of 06/09/2024 20:45:44:
50
+
# support/v1
15
51
16
52
# Specifies whether this branch can be deleted. boolean
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,15 @@ The **Microsoft.OpenAPI.OData.Reader** library helps represent an OData service
8
8
9
9
The conversion is based on the mapping doc from [OASIS OData OpenAPI v1.0](https://www.oasis-open.org/committees/document.php?document_id=61852&wg_abbrev=odata) and uses the following :
The image below is generic overview of how this library can convert the EDM model to an [OpenAPI.NET document](https://github.com/Microsoft/OpenAPI.NET/blob/master/src/Microsoft.OpenApi/Models/OpenApiDocument.cs) object.
19
+
The image below is generic overview of how this library can convert the EDM model to an [OpenAPI.NET document](https://github.com/Microsoft/OpenAPI.NET/blob/main/src/Microsoft.OpenApi/Models/OpenApiDocument.cs) object.
20
20
21
21

0 commit comments