Skip to content

Commit

Permalink
fix: authorized_credential_title and authorized_credential_note c…
Browse files Browse the repository at this point in the history
…an be `null` (#35)
  • Loading branch information
octokitbot committed Jan 25, 2021
1 parent a8bf55c commit c8a4653
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion cache/openapi-schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "2.5.1",
"version": "2.5.2",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
Expand Down Expand Up @@ -40650,11 +40650,13 @@
},
"authorized_credential_title": {
"type": "string",
"nullable": true,
"example": "my ssh key",
"description": "The title given to the ssh key. This will only be present when the credential is an ssh key."
},
"authorized_credential_note": {
"type": "string",
"nullable": true,
"example": "my token",
"description": "The note given to the token. This will only be present when the credential is a token."
}
Expand Down
4 changes: 2 additions & 2 deletions generated/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6013,9 +6013,9 @@ export interface components {
credential_accessed_at?: string | null;
authorized_credential_id?: number | null;
/** The title given to the ssh key. This will only be present when the credential is an ssh key. */
authorized_credential_title?: string;
authorized_credential_title?: string | null;
/** The note given to the token. This will only be present when the credential is a token. */
authorized_credential_note?: string;
authorized_credential_note?: string | null;
};
/** Organization Invitation */
"organization-invitation": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"branches": "main"
},
"octokit": {
"openapi-version": "2.5.1"
"openapi-version": "2.5.2"
},
"renovate": {
"extends": [
Expand Down

0 comments on commit c8a4653

Please sign in to comment.