Add tests for pull request's content_version in API (#37044)

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Claude (Opus 4.6) <noreply@anthropic.com>
This commit is contained in:
wxiaoguang
2026-03-31 01:28:45 +08:00
committed by GitHub
parent 9bb0aa1c49
commit daf581fa89
5 changed files with 72 additions and 9 deletions

View File

@@ -24768,6 +24768,7 @@
"x-go-name": "Body"
},
"content_version": {
"description": "The current version of the issue content to detect conflicts during editing",
"type": "integer",
"format": "int64",
"x-go-name": "ContentVersion"
@@ -24945,6 +24946,7 @@
"x-go-name": "Body"
},
"content_version": {
"description": "The current version of the pull request content to detect conflicts during editing",
"type": "integer",
"format": "int64",
"x-go-name": "ContentVersion"
@@ -26235,6 +26237,7 @@
"x-go-name": "Comments"
},
"content_version": {
"description": "The version of the issue content for optimistic locking",
"type": "integer",
"format": "int64",
"x-go-name": "ContentVersion"
@@ -27742,6 +27745,7 @@
"x-go-name": "Comments"
},
"content_version": {
"description": "The version of the pull request content for optimistic locking",
"type": "integer",
"format": "int64",
"x-go-name": "ContentVersion"