Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Sep 15, 2023
1 parent a4ef13a commit a106d35
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/overrides/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ export default function overrides(file, schema) {
);

if (isDeferenced(file)) {
// The /app/installations/ endpoint have bad usage of `anyof` in the response body schema
// The `/app/installations/` endpoint has bad usage of `anyof` in the response body schema
// See https://github.com/octokit/openapi-types.ts/issues/305
replaceOperation(
schema,
"/app/installations",
Expand Down Expand Up @@ -142,7 +143,8 @@ export default function overrides(file, schema) {
"./repos-compare-commits.deref.json",
);
} else {
// The /app/installations/ endpoint have bad usage of `anyof` in the response body schema
// The `/app/installations/` endpoint has bad usage of `anyof` in the response body schema
// See https://github.com/octokit/openapi-types.ts/issues/305
replaceOperation(
schema,
"/app/installations",
Expand Down

0 comments on commit a106d35

Please sign in to comment.