Skip to content

Commit cd7e79d

Browse files
authored
fix: update to @octokit/openapi v1.0.3 (#13)
1 parent e7d02db commit cd7e79d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cache/openapi-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
"branches": "main"
2323
},
2424
"octokit": {
25-
"openapi-version": "1.0.2"
25+
"openapi-version": "1.0.3"
2626
}
2727
}

scripts/update-package.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ if (!pkg.octokit) {
1010
pkg.octokit = {};
1111
}
1212

13-
pkg.octokit["openapi-version"] = process.env.VERSION;
13+
pkg.octokit["openapi-version"] = process.env.VERSION.replace(/^v/, "");
1414

1515
writeFileSync("package.json", JSON.stringify(pkg, null, 2) + "\n");

0 commit comments

Comments
 (0)