Skip to content

Commit

Permalink
Merge pull request #3115 from github/openapi-update-c4fc5d024de4f6c5d…
Browse files Browse the repository at this point in the history
…2f3a911a230fa2d8ad854013cd5f01fbc0b9bb6e1fa02e6

Update OpenAPI 3.0 Descriptions
  • Loading branch information
becco authored Oct 23, 2023
2 parents f7987dd + 7dfd5d1 commit b0d6197
Show file tree
Hide file tree
Showing 16 changed files with 14,512 additions and 14,952 deletions.
19 changes: 2 additions & 17 deletions descriptions/api.github.com/api.github.com.2022-11-28.json
Original file line number Diff line number Diff line change
Expand Up @@ -14641,23 +14641,8 @@
}
},
"responses": {
"200": {
"description": "Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/org-repo-custom-property-values"
}
},
"examples": {
"default": {
"$ref": "#/components/examples/org-repo-custom-property-values"
}
}
}
}
"204": {
"description": "No Content when custom property values are successfully created or updated"
},
"403": {
"$ref": "#/components/responses/forbidden"
Expand Down
14 changes: 3 additions & 11 deletions descriptions/api.github.com/api.github.com.2022-11-28.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10434,17 +10434,9 @@ paths:
default:
"$ref": "#/components/examples/org-repo-update-custom-property-values"
responses:
'200':
description: Response
content:
application/json:
schema:
type: array
items:
"$ref": "#/components/schemas/org-repo-custom-property-values"
examples:
default:
"$ref": "#/components/examples/org-repo-custom-property-values"
'204':
description: No Content when custom property values are successfully created
or updated
'403':
"$ref": "#/components/responses/forbidden"
'404':
Expand Down
19 changes: 2 additions & 17 deletions descriptions/api.github.com/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -14641,23 +14641,8 @@
}
},
"responses": {
"200": {
"description": "Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/org-repo-custom-property-values"
}
},
"examples": {
"default": {
"$ref": "#/components/examples/org-repo-custom-property-values"
}
}
}
}
"204": {
"description": "No Content when custom property values are successfully created or updated"
},
"403": {
"$ref": "#/components/responses/forbidden"
Expand Down
14 changes: 3 additions & 11 deletions descriptions/api.github.com/api.github.com.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10434,17 +10434,9 @@ paths:
default:
"$ref": "#/components/examples/org-repo-update-custom-property-values"
responses:
'200':
description: Response
content:
application/json:
schema:
type: array
items:
"$ref": "#/components/schemas/org-repo-custom-property-values"
examples:
default:
"$ref": "#/components/examples/org-repo-custom-property-values"
'204':
description: No Content when custom property values are successfully created
or updated
'403':
"$ref": "#/components/responses/forbidden"
'404':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101630,89 +101630,8 @@
}
},
"responses": {
"200": {
"description": "Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"title": "Organization Repository Custom Property Values",
"description": "List of custom property values for a repository",
"type": "object",
"properties": {
"repository_id": {
"type": "integer",
"example": 1296269
},
"repository_name": {
"type": "string",
"example": "Hello-World"
},
"repository_full_name": {
"type": "string",
"example": "octocat/Hello-World"
},
"properties": {
"type": "array",
"items": {
"title": "Custom Property Value",
"description": "Custom property name and associated value",
"type": "object",
"properties": {
"property_name": {
"type": "string",
"description": "The name of the property"
},
"value": {
"type": "string",
"description": "The value assigned to the property",
"nullable": true
}
},
"required": [
"property_name",
"value"
]
},
"description": "List of custom property names and associated values"
}
},
"required": [
"repository_id",
"repository_name",
"repository_full_name",
"properties"
]
}
},
"examples": {
"default": {
"value": [
{
"repository_id": 1296269,
"repository_name": "Hello-World",
"repository_full_name": "octocat/Hello-World",
"properties": [
{
"property_name": "environment",
"value": "production"
},
{
"property_name": "service",
"value": "web"
},
{
"property_name": "team",
"value": "octocat"
}
]
}
]
}
}
}
}
"204": {
"description": "No Content when custom property values are successfully created or updated"
},
"403": {
"description": "Forbidden",
Expand Down
Loading

0 comments on commit b0d6197

Please sign in to comment.