René's URL Explorer Experiment


Title: Optional response header by ShouheiNishi · Pull Request #1412 · oapi-codegen/oapi-codegen · GitHub

Open Graph Title: Optional response header by ShouheiNishi · Pull Request #1412 · oapi-codegen/oapi-codegen

X Title: Optional response header by ShouheiNishi · Pull Request #1412 · oapi-codegen/oapi-codegen

Description: Generate Go client and server boilerplate from OpenAPI 3 specifications - Optional response header by ShouheiNishi · Pull Request #1412 · oapi-codegen/oapi-codegen

Open Graph Description: To fix issue #1301, when header is optional, field for this is generate as pointer type. When this field is nil, corresponding header is not set in functions Visit*. However, this change introduce ...

X Description: To fix issue #1301, when header is optional, field for this is generate as pointer type. When this field is nil, corresponding header is not set in functions Visit*. However, this change introduce ...

Opengraph URL: https://github.com/oapi-codegen/oapi-codegen/pull/1412

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:bf3686d4-67d0-ea54-2b73-cbfa5fb03a73
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA18C:2D422D:5322BF:6E07DB:6A51CAE9
html-safe-noncef05480b438dd1f44ccb111486bcde46607ce1956535a79e2c7dbcc537f4d5fe7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMThDOjJENDIyRDo1MzIyQkY6NkUwN0RCOjZBNTFDQUU5IiwidmlzaXRvcl9pZCI6IjgzNTAyNzM2ODc3OTUxMjQ5NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfa217e9f6f9146be504a264df1da3719cebbb3d89c392d557620175d38cd768c
hovercard-subject-tagpull_request:1658600455
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/oapi-codegen/oapi-codegen/1412/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/79c0f577889faba6012abcdca04f450bb1a26258ef8ac633ca47fb83473d435b/oapi-codegen/oapi-codegen/pull/1412
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/79c0f577889faba6012abcdca04f450bb1a26258ef8ac633ca47fb83473d435b/oapi-codegen/oapi-codegen/pull/1412
og:image:altTo fix issue #1301, when header is optional, field for this is generate as pointer type. When this field is nil, corresponding header is not set in functions Visit*. However, this change introduce ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameShouheiNishi
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/oapi-codegen/oapi-codegen git https://github.com/oapi-codegen/oapi-codegen.git
octolytics-dimension-user_id142752710
octolytics-dimension-user_loginoapi-codegen
octolytics-dimension-repository_id173009358
octolytics-dimension-repository_nwooapi-codegen/oapi-codegen
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id173009358
octolytics-dimension-repository_network_root_nwooapi-codegen/oapi-codegen
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/oapi-codegen/oapi-codegen/pull/1412#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen%2Fpull%2F1412
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen%2Fpull%2F1412
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=oapi-codegen%2Foapi-codegen
Reloadhttps://github.com/oapi-codegen/oapi-codegen/pull/1412
Reloadhttps://github.com/oapi-codegen/oapi-codegen/pull/1412
Reloadhttps://github.com/oapi-codegen/oapi-codegen/pull/1412
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/1412
oapi-codegen https://github.com/oapi-codegen
oapi-codegenhttps://github.com/oapi-codegen/oapi-codegen
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/1412
Notifications https://github.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Fork 1k https://github.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Star 8.4k https://github.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Code https://github.com/oapi-codegen/oapi-codegen
Issues 291 https://github.com/oapi-codegen/oapi-codegen/issues
Pull requests 65 https://github.com/oapi-codegen/oapi-codegen/pulls
Discussions https://github.com/oapi-codegen/oapi-codegen/discussions
Actions https://github.com/oapi-codegen/oapi-codegen/actions
Projects https://github.com/oapi-codegen/oapi-codegen/projects
Security and quality 3 https://github.com/oapi-codegen/oapi-codegen/security
Insights https://github.com/oapi-codegen/oapi-codegen/pulse
Code https://github.com/oapi-codegen/oapi-codegen
Issues https://github.com/oapi-codegen/oapi-codegen/issues
Pull requests https://github.com/oapi-codegen/oapi-codegen/pulls
Discussions https://github.com/oapi-codegen/oapi-codegen/discussions
Actions https://github.com/oapi-codegen/oapi-codegen/actions
Projects https://github.com/oapi-codegen/oapi-codegen/projects
Security and quality https://github.com/oapi-codegen/oapi-codegen/security
Insights https://github.com/oapi-codegen/oapi-codegen/pulse
ShouheiNishihttps://github.com/ShouheiNishi
oapi-codegen:mainhttps://github.com/oapi-codegen/oapi-codegen/tree/main
ShouheiNishi:fix/optional-response-headerhttps://github.com/ShouheiNishi/oapi-codegen/tree/fix/optional-response-header
Conversationhttps://github.com/oapi-codegen/oapi-codegen/pull/1412
Commits9 (9)https://github.com/oapi-codegen/oapi-codegen/pull/1412/commits
Checkshttps://github.com/oapi-codegen/oapi-codegen/pull/1412/checks
Files changedhttps://github.com/oapi-codegen/oapi-codegen/pull/1412/files
Optional response headerhttps://github.com/oapi-codegen/oapi-codegen/pull/1412#top
ShouheiNishihttps://github.com/ShouheiNishi
oapi-codegen:mainhttps://github.com/oapi-codegen/oapi-codegen/tree/main
ShouheiNishi:fix/optional-response-headerhttps://github.com/ShouheiNishi/oapi-codegen/tree/fix/optional-response-header
https://github.com/ShouheiNishi
ShouheiNishihttps://github.com/ShouheiNishi
Dec 28, 2023https://github.com/oapi-codegen/oapi-codegen/pull/1412#issue-2057966724
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/1412
#1301https://github.com/oapi-codegen/oapi-codegen/issues/1301
#1411https://github.com/oapi-codegen/oapi-codegen/pull/1411
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/1412
ShouheiNishihttps://github.com/ShouheiNishi
December 27, 2023 16:19https://github.com/oapi-codegen/oapi-codegen/pull/1412#commits-pushed-116f5e5
https://github.com/ShouheiNishi
Fix broken code when response content is not exist, but response head…https://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/116f5e5237831dc79995499779628dfac1f34d58
116f5e5https://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/116f5e5237831dc79995499779628dfac1f34d58
https://github.com/ShouheiNishi
Test code for issuehttps://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/771bdeb23da248470a6f5611450b51e0bbc4640f
oapi-codegen#1301https://github.com/oapi-codegen/oapi-codegen/issues/1301
771bdebhttps://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/771bdeb23da248470a6f5611450b51e0bbc4640f
https://github.com/ShouheiNishi
To fix issuehttps://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/f6d081949fadb9f20d28a8a5c8e69a89356335d2
oapi-codegen#1301https://github.com/oapi-codegen/oapi-codegen/issues/1301
, when header is optional, field for th…https://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/f6d081949fadb9f20d28a8a5c8e69a89356335d2
f6d0819https://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/f6d081949fadb9f20d28a8a5c8e69a89356335d2
https://github.com/ShouheiNishi
Change test specs to handle incompatibility by fix for issuehttps://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/73bdb92c0f7a8f2edc59a70740466faa5d924086
oapi-cod…https://github.com/oapi-codegen/oapi-codegen/issues/1301
73bdb92https://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/73bdb92c0f7a8f2edc59a70740466faa5d924086
…egen#1301https://github.com/oapi-codegen/oapi-codegen/issues/1301
https://github.com/ShouheiNishi
Morehttps://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/a0fc70a64f8980ddc8ee6137b84ab7658c0907ad
oapi-codegen#1301https://github.com/oapi-codegen/oapi-codegen/issues/1301
testhttps://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/a0fc70a64f8980ddc8ee6137b84ab7658c0907ad
a0fc70ahttps://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/a0fc70a64f8980ddc8ee6137b84ab7658c0907ad
https://github.com/ShouheiNishi
Compatibility optionhttps://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/6ebb5f084a3b12d66911042b47d60c3e6d3e8093
6ebb5f0https://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/6ebb5f084a3b12d66911042b47d60c3e6d3e8093
https://github.com/ShouheiNishi
ShouheiNishihttps://github.com/ShouheiNishi
December 28, 2023 04:16https://github.com/oapi-codegen/oapi-codegen/pull/1412#event-11348356004
ShouheiNishihttps://github.com/ShouheiNishi
November 7, 2024 16:31https://github.com/oapi-codegen/oapi-codegen/pull/1412#commits-pushed-7ce7668
https://github.com/ShouheiNishi
Merge tag 'v2.4.1' into fix/optional-response-headerhttps://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/7ce76687701e0575c4a6b6da8be6dbb9e7131b74
7ce7668https://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/7ce76687701e0575c4a6b6da8be6dbb9e7131b74
https://github.com/ShouheiNishi
Fix package pathhttps://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/b24b8a4172b823ba28bbd1c64aeee27842249291
b24b8a4https://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/b24b8a4172b823ba28bbd1c64aeee27842249291
https://github.com/ShouheiNishi
Regeneratehttps://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/ec98b774dd7a338e43ce6c83c5c5b1253280fba2
ec98b77https://github.com/oapi-codegen/oapi-codegen/pull/1412/commits/ec98b774dd7a338e43ce6c83c5c5b1253280fba2
https://github.com/ShouheiNishi
ShouheiNishihttps://github.com/ShouheiNishi
code ownerhttps://github.com/oapi-codegen/oapi-codegen/blob/18c9887189108ed0ebb10df5603cbc73a9a78c81/.github/CODEOWNERS#L1
November 7, 2024 07:43https://github.com/oapi-codegen/oapi-codegen/pull/1412#event-15172704945
https://github.com/wc9384
wc9384https://github.com/wc9384
Nov 12, 2025 https://github.com/oapi-codegen/oapi-codegen/pull/1412#ref-issue-1925370037
Non-required header in the GIN strict server. #1301 https://github.com/oapi-codegen/oapi-codegen/issues/1301
https://github.com/mromaszewicz
mromaszewiczhttps://github.com/mromaszewicz
May 1, 2026https://github.com/oapi-codegen/oapi-codegen/pull/1412#issuecomment-4357457451
@ShouheiNishihttps://github.com/ShouheiNishi
#2301https://github.com/oapi-codegen/oapi-codegen/pull/2301
#1301https://github.com/oapi-codegen/oapi-codegen/issues/1301
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/1412
https://github.com/mromaszewicz
mromaszewiczhttps://github.com/mromaszewicz
May 1, 2026https://github.com/oapi-codegen/oapi-codegen/pull/1412#event-25059819154
https://github.co/hiddenchars
https://github.com/oapi-codegen/oapi-codegen/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen%2Fpull%2F1412
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/1412
https://github.com/ShouheiNishi
https://github.com/mromaszewicz
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.