Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update OpenAPI 3.1 Descriptions #2959

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46569,7 +46569,7 @@
"/repos/{owner}/{repo}/rules/branches/{branch}": {
"get": {
"summary": "Get rules for a branch",
"description": "Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a\nbranch with that name will be returned. All rules that apply will be returned, regardless of the level at which they\nare configured.",
"description": "Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply\nto a branch with that name will be returned. All active rules that apply will be returned, regardless of the level\nat which they are configured (e.g. repository or organization). Rules in rulesets with \"evaluate\" or \"disabled\"\nenforcement statuses are not returned.",
"tags": [
"repos"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33209,9 +33209,10 @@ paths:
get:
summary: Get rules for a branch
description: |-
Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a
branch with that name will be returned. All rules that apply will be returned, regardless of the level at which they
are configured.
Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply
to a branch with that name will be returned. All active rules that apply will be returned, regardless of the level
at which they are configured (e.g. repository or organization). Rules in rulesets with "evaluate" or "disabled"
enforcement statuses are not returned.
tags:
- repos
operationId: repos/get-branch-rules
Expand Down
2 changes: 1 addition & 1 deletion descriptions-next/api.github.com/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -46569,7 +46569,7 @@
"/repos/{owner}/{repo}/rules/branches/{branch}": {
"get": {
"summary": "Get rules for a branch",
"description": "Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a\nbranch with that name will be returned. All rules that apply will be returned, regardless of the level at which they\nare configured.",
"description": "Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply\nto a branch with that name will be returned. All active rules that apply will be returned, regardless of the level\nat which they are configured (e.g. repository or organization). Rules in rulesets with \"evaluate\" or \"disabled\"\nenforcement statuses are not returned.",
"tags": [
"repos"
],
Expand Down
Loading
Loading