-
Notifications
You must be signed in to change notification settings - Fork 270
Closed
Labels
Description
Schema Inaccuracy
The description for the project/create-card
operation is incorrect. The description talks about issues and pull requests, and does not mention project cards at all.
Expected
The description should describe what creating a project card entails, rather than describe issues and pull requests.
Current
The current description shows:
post": {
"summary": "Create a project card",
"description": "**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.\n\nBe aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull request id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.",
"tags": [
"projects"
],
"operationId": "projects/create-card",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/projects#create-a-project-card"
},
...