Skip to content

Output empty object response body as {} type instead of void type #96

Output empty object response body as {} type instead of void type

Output empty object response body as {} type instead of void type #96

Triggered via pull request October 31, 2023 16:18
Status Success
Total duration 26s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
14s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

3 errors
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '6709419663', status: 403, response: { url: 'https://api.github.com/repos/aspida/openapi2aspida/issues/250/labels', status: 403, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Tue, 31 Oct 2023 16:18:37 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'issues=write; pull_requests=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '102D:21AA:74333B4:EF20CDD:654128DC', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '996', 'x-ratelimit-reset': '1698772716', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '4', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/issues/labels#add-labels-to-an-issue' } }, request: { method: 'POST', url: 'https://api.github.com/repos/aspida/openapi2aspida/issues/250/labels', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"labels":["bug"]}', request: {} }, event: { id: '6709419663', name: 'pull_request', payload: { action: 'opened', number: 250, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/56172929?v=4', description: '', events_url: 'https://api.github.com/orgs/aspida/events', hooks_url: 'https://api.github.com/orgs/aspida/hooks', id: 56172929, issues_url: 'https://api.github.com/orgs/aspida/issues', login: 'aspida', members_url: 'https://api.github.com/orgs/aspida/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjU2MTcyOTI5', public_members_url: 'https://api.github.com/orgs/aspida/public_members{/member}', repos_url: 'https://api.github.com/orgs/aspida/repos', url: 'https://api.github.com/orgs/aspida' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/aspida/openapi2aspida/issues/250/comments' }, commits: { href: 'https://api.github.com/repos/aspida/openapi2aspida/pulls/250/commits' }, html: { href: 'https://github.com/aspida/openapi2aspida/pull/250' }, issue: { href: 'https://api.github.com/repos/aspida/openapi2aspida/issues/250' }, review_comment: { href: 'https://api.github.com/repos/aspida/openapi2aspida/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/aspida/openapi2aspida/pulls/250/comments' }, self: { href: 'https://api.github.com/repos/aspida/openapi2aspida/pulls/250' }, statuses: { href: 'https://api.github.com/repos/aspida/openapi2aspida/statuses/e88a0f1e24a9dccf1d6dd2c0927378be23cd2933' } },
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '6709419663', status: 403, response: { url: 'https://api.github.com/repos/aspida/openapi2aspida/releases', status: 403, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Tue, 31 Oct 2023 16:18:47 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'contents=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '102C:6C1D:7490420:F0032C9:654128E7', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '994', 'x-ratelimit-reset': '1698772716', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '6', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release' } }, request: { method: 'POST', url: 'https://api.github.com/repos/aspida/openapi2aspida/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/pull/250/merge","name":"v0.1.0 🌈","tag_name":"v0.1.0","body":"## Changes\\n\\n- Generate missing `component.headers` types @mashabow (#244)\\n- Support the use of string or number via $ref in path parameters @hadashiA (#225)\\n- feat: generate type of responses @gamoutatsumi (#218)\\n- chore(deps): bump minimatch from 3.0.4 to 3.1.2 @dependabot (#212)\\n- [docs] add description for CLI optiions @nokazn (#195)\\n- feat: add support RequestBodies components @gamoutatsumi (#211)\\n- revert: replaceLeadingAtMark of PR #146 @LumaKernel (#185)\\n- chore: updaet readme and changelog @LumaKernel (#183)\\n- chore(deps): bump swagger-parser from 10.0.2 to 10.0.3 @dependabot (#176)\\n- chore(deps): bump lodash from 4.17.19 to 4.17.21 @dependabot (#152)\\n- chore(deps-dev): bump eslint-config-prettier from 8.3.0 to 8.4.0 @dependabot (#175)\\n- chore(deps-dev): bump @types/jest from 26.0.24 to 27.4.1 @dependabot (#178)\\n- chore(deps): bump path-parse from 1.0.6 to 1.0.7 @dependabot (#153)\\n- chore(deps): bump tmpl from 1.0.4 to 1.0.5 @dependabot (#157)\\n- chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 @dependabot (#164)\\n- chore(deps): bump shelljs from 0.8.4 to 0.8.5 @dependabot (#167)\\n- chore(deps): bump trim-off-newlines from 1.0.1 to 1.0.3 @dependabot (#171)\\n- chore(deps): bump ajv from 6.12.2 to 6.12.6 @dependabot (#172)\\n- chore(deps): bump node-fetch from 2.6.1 to 2.6.7 @dependabot (#173)\\n- fix: #156 @hashue (#170)\\n- Copy of 137 @hashue (#169)\\n- Create dependabot setting @hashue (#168)\\n- feat: allow at mark in path @toshiaki61 (#146)\\n- chore(release): 0.17.0 @hashue (#166)\\n- [fix] fix #159 @hashue (#162)\\n- docs: Readme.md にoutput Optionについての説明を追加 @mochi-sann (#161)\\n- -o で書き出すフォルダーを変更できるようにした @mochi-sann (#155)\\n- fix: include response schemas that has no application/ prefixed content-typent-type @LumaKernel (#154)\\n- chore(release): 0.16.5 @solufa (#
update_release_draft
HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '6709419663', name: 'pull_request', payload: { action: 'opened', number: 250, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/56172929?v=4', description: '', events_url: 'https://api.github.com/orgs/aspida/events', hooks_url: 'https://api.github.com/orgs/aspida/hooks', id: 56172929, issues_url: 'https://api.github.com/orgs/aspida/issues', login: 'aspida', members_url: 'https://api.github.com/orgs/aspida/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjU2MTcyOTI5', public_members_url: 'https://api.github.com/orgs/aspida/public_members{/member}', repos_url: 'https://api.github.com/orgs/aspida/repos', url: 'https://api.github.com/orgs/aspida' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/aspida/openapi2aspida/issues/250/comments' }, commits: { href: 'https://api.github.com/repos/aspida/openapi2aspida/pulls/250/commits' }, html: { href: 'https://github.com/aspida/openapi2aspida/pull/250' }, issue: { href: 'https://api.github.com/repos/aspida/openapi2aspida/issues/250' }, review_comment: { href: 'https://api.github.com/repos/aspida/openapi2aspida/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/aspida/openapi2aspida/pulls/250/comments' }, self: { href: 'https://api.github.com/repos/aspida/openapi2aspida/pulls/250' }, statuses: { href: 'https://api.github.com/repos/aspida/openapi2aspida/statuses/e88a0f1e24a9dccf1d6dd2c0927378be23cd2933' } }, active_lock_reason: null, additions: 208, assignee: null, assignees: [], author_association: 'CONTRIBUTOR', auto_merge: null, base: { label: 'aspida:main', ref: 'main', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/aspida/openapi2aspida/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/aspida/openapi2aspida/assignees{/user}', blobs_url: 'https://api.github.com/repos/aspida/openapi2aspida/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/aspida/openapi2aspida/branches{/branch}', clone_url: 'https://github.com/aspida/openapi2aspida.git', collaborators_url: 'https://api.github.com/repos/aspida/openapi2aspida/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/aspida/openapi2aspida/comments{/number}', commits_url: 'https://api.github.com/repos/aspida/openapi2aspida/commits{/sha}', compare_url: 'https://api.github.com/repos/aspida/openapi2aspida/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/aspida/openapi2aspida/contents/{+path}', contributors_url: 'https://api.github.