René's URL Explorer Experiment


Title: GitHub - oapi-codegen/oapi-codegen: Generate Go client and server boilerplate from OpenAPI 3 specifications · GitHub

Open Graph Title: GitHub - oapi-codegen/oapi-codegen: Generate Go client and server boilerplate from OpenAPI 3 specifications

X Title: GitHub - oapi-codegen/oapi-codegen: Generate Go client and server boilerplate from OpenAPI 3 specifications

Description: Generate Go client and server boilerplate from OpenAPI 3 specifications - oapi-codegen/oapi-codegen

Open Graph Description: Generate Go client and server boilerplate from OpenAPI 3 specifications - oapi-codegen/oapi-codegen

X Description: Generate Go client and server boilerplate from OpenAPI 3 specifications - oapi-codegen/oapi-codegen

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

X: @github

direct link

Domain: redirect.github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:ab9dc782-d28c-4155-f57c-3122c8f75751
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id8104:39BFDB:2CA84DA:3A1CE46:6AF9B6CE
html-safe-nonce5e6246b116ea852afc237d01c36601509699d3e55cf11651a1df8f8d5c42eb74
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTA0OjM5QkZEQjoyQ0E4NERBOjNBMUNFNDY6NkFGOUI2Q0UiLCJ2aXNpdG9yX2lkIjoiNjcxODE3NTA0MjkwMDQ0MDc4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbdd336bae34e79609b2f1861d2cd26950373fa6c4acbd40d9fb907f780828314
hovercard-subject-tagrepository:173009358
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/oapi-codegen/oapi-codegen
twitter:imagehttps://opengraph.githubassets.com/795d53ee6dad6051e74f3580af19614fbae92dac0dc480c0eae39b8a4166213a/oapi-codegen/oapi-codegen
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/795d53ee6dad6051e74f3580af19614fbae92dac0dc480c0eae39b8a4166213a/oapi-codegen/oapi-codegen
og:image:altGenerate Go client and server boilerplate from OpenAPI 3 specifications - oapi-codegen/oapi-codegen
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/oapi-codegen/oapi-codegen#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=oapi-codegen%2Foapi-codegen
Reloadhttps://redirect.github.com/oapi-codegen/oapi-codegen
Reloadhttps://redirect.github.com/oapi-codegen/oapi-codegen
Reloadhttps://redirect.github.com/oapi-codegen/oapi-codegen
oapi-codegenhttps://redirect.github.com/oapi-codegen
oapi-codegenhttps://redirect.github.com/oapi-codegen/oapi-codegen
Codehttps://redirect.github.com/oapi-codegen/oapi-codegen
Issues228 (228)https://redirect.github.com/oapi-codegen/oapi-codegen/issues
Pull requests70 (70)https://redirect.github.com/oapi-codegen/oapi-codegen/pulls
Discussionshttps://redirect.github.com/oapi-codegen/oapi-codegen/discussions
Actionshttps://redirect.github.com/oapi-codegen/oapi-codegen/actions
Projectshttps://redirect.github.com/oapi-codegen/oapi-codegen/projects
Security and quality11 (11)https://redirect.github.com/oapi-codegen/oapi-codegen/security
Insightshttps://redirect.github.com/oapi-codegen/oapi-codegen/pulse
https://redirect.github.com/oapi-codegen/oapi-codegen
oapi-codegenhttps://redirect.github.com/oapi-codegen/oapi-codegen
Notificationshttps://redirect.github.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Fork1.1k (1.1k)https://redirect.github.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Star8.7k (8.7k)https://redirect.github.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
gohttps://redirect.github.com/topics/go
golanghttps://redirect.github.com/topics/golang
openapihttps://redirect.github.com/topics/openapi
openapi-codegenhttps://redirect.github.com/topics/openapi-codegen
openapi-generatorhttps://redirect.github.com/topics/openapi-generator
openapi3https://redirect.github.com/topics/openapi3
rest-apihttps://redirect.github.com/topics/rest-api
rest-api-clienthttps://redirect.github.com/topics/rest-api-client
swaggerhttps://redirect.github.com/topics/swagger
Readmehttps://redirect.github.com/oapi-codegen/oapi-codegen#readme-ov-file
Apache-2.0 licensehttps://redirect.github.com/oapi-codegen/oapi-codegen#Apache-2.0-1-ov-file
Contributinghttps://redirect.github.com/oapi-codegen/oapi-codegen#contributing-ov-file
Security policyhttps://redirect.github.com/oapi-codegen/oapi-codegen#security-ov-file
Activityhttps://redirect.github.com/oapi-codegen/oapi-codegen/activity
Custom propertieshttps://redirect.github.com/oapi-codegen/oapi-codegen/custom-properties
1.1k forkshttps://redirect.github.com/oapi-codegen/oapi-codegen/forks
Report repositoryhttps://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen&report=oapi-codegen+%28user%29
Brancheshttps://redirect.github.com/oapi-codegen/oapi-codegen/branches
Tagshttps://redirect.github.com/oapi-codegen/oapi-codegen/tags
https://redirect.github.com/oapi-codegen/oapi-codegen/branches
https://redirect.github.com/oapi-codegen/oapi-codegen/tags
1,276 Commitshttps://redirect.github.com/oapi-codegen/oapi-codegen/commits/main/
https://redirect.github.com/oapi-codegen/oapi-codegen/commits/main/
.githubhttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/.github
.githubhttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/.github
.greptilehttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/.greptile
.greptilehttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/.greptile
cmd/oapi-codegenhttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/cmd/oapi-codegen
cmd/oapi-codegenhttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/cmd/oapi-codegen
docshttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/docs
docshttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/docs
exampleshttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/examples
exampleshttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/examples
internalhttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/internal
internalhttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/internal
pkghttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/pkg
pkghttps://redirect.github.com/oapi-codegen/oapi-codegen/tree/main/pkg
.editorconfighttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/.editorconfig
.editorconfighttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/.editorconfig
.gitattributeshttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/.gitattributes
.gitattributeshttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/.gitattributes
.gitignorehttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/.gitignore
.gitignorehttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/.gitignore
CONTRIBUTING.mdhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/CONTRIBUTING.md
CONTRIBUTING.mdhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/CONTRIBUTING.md
LICENSEhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/LICENSE
LICENSEhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/LICENSE
Makefilehttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/Makefile
Makefilehttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/Makefile
README.mdhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/README.md
README.mdhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/README.md
SUPPORT.mdhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/SUPPORT.md
SUPPORT.mdhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/SUPPORT.md
configuration-schema.jsonhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/configuration-schema.json
configuration-schema.jsonhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/configuration-schema.json
go.modhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/go.mod
go.modhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/go.mod
go.sumhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/go.sum
go.sumhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/go.sum
renovate.jsonhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/renovate.json
renovate.jsonhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/renovate.json
READMEhttps://redirect.github.com/oapi-codegen/oapi-codegen
Contributinghttps://redirect.github.com/oapi-codegen/oapi-codegen
Apache-2.0 licensehttps://redirect.github.com/oapi-codegen/oapi-codegen
Securityhttps://redirect.github.com/oapi-codegen/oapi-codegen
https://redirect.github.com/oapi-codegen/oapi-codegen#oapi-codegen
https://www.bestpractices.dev/projects/9450
server-side implementationshttps://redirect.github.com/oapi-codegen/oapi-codegen#generating-server-side-boilerplate
API clientshttps://redirect.github.com/oapi-codegen/oapi-codegen#generating-api-clients
HTTP modelshttps://redirect.github.com/oapi-codegen/oapi-codegen#generating-api-models
OpenAPI 3.0https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md
OpenAPI 3.1https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md
Key Design Decisionshttps://redirect.github.com/oapi-codegen/oapi-codegen#key-design-decisions
oapi-codegen organisation on GitHubhttps://github.com/oapi-codegen
https://redirect.github.com/oapi-codegen/oapi-codegen#table-of-contents
Installationhttps://redirect.github.com/oapi-codegen/oapi-codegen#installation
Action Required: The repository for this project has changedhttps://redirect.github.com/oapi-codegen/oapi-codegen#action-required-the-repository-for-this-project-has-changed
Installinghttps://redirect.github.com/oapi-codegen/oapi-codegen#installing
Pinning to commitshttps://redirect.github.com/oapi-codegen/oapi-codegen#pinning-to-commits
Usagehttps://redirect.github.com/oapi-codegen/oapi-codegen#usage
Backwards compatibilityhttps://redirect.github.com/oapi-codegen/oapi-codegen#backwards-compatibility
Featureshttps://redirect.github.com/oapi-codegen/oapi-codegen#features
What does it look like?https://redirect.github.com/oapi-codegen/oapi-codegen#what-does-it-look-like
Key design decisionshttps://redirect.github.com/oapi-codegen/oapi-codegen#key-design-decisions
Generating server-side boilerplatehttps://redirect.github.com/oapi-codegen/oapi-codegen#generating-server-side-boilerplate
Supported Servershttps://redirect.github.com/oapi-codegen/oapi-codegen#supported-servers
OpenAPI 3.2 HTTP methods (query and additionalOperations)https://redirect.github.com/oapi-codegen/oapi-codegen#openapi-32-http-methods-query-and-additionaloperations
Strict serverhttps://redirect.github.com/oapi-codegen/oapi-codegen#strict-server
Generating API clientshttps://redirect.github.com/oapi-codegen/oapi-codegen#generating-api-clients
With Server URLshttps://redirect.github.com/oapi-codegen/oapi-codegen#with-server-urls
Duplicate types generated for clients's response object typeshttps://redirect.github.com/oapi-codegen/oapi-codegen#duplicate-types-generated-for-clientss-response-object-types
Generating API modelshttps://redirect.github.com/oapi-codegen/oapi-codegen#generating-api-models
Splitting large OpenAPI specs across multiple packages (aka "Import Mapping" or "external references")https://redirect.github.com/oapi-codegen/oapi-codegen#splitting-large-openapi-specs-across-multiple-packages-aka-import-mapping-or-external-references
Using a single package with multiple OpenAPI specshttps://redirect.github.com/oapi-codegen/oapi-codegen#using-a-single-package-with-multiple-openapi-specs
Using multiple packages, with one OpenAPI spec per packagehttps://redirect.github.com/oapi-codegen/oapi-codegen#using-multiple-packages-with-one-openapi-spec-per-package
Modifying the input OpenAPI Specification (with OpenAPI Overlay)https://redirect.github.com/oapi-codegen/oapi-codegen#modifying-the-input-openapi-specification-with-openapi-overlay
Generating Nullable typeshttps://redirect.github.com/oapi-codegen/oapi-codegen#generating-nullable-types
OpenAPI extensionshttps://redirect.github.com/oapi-codegen/oapi-codegen#openapi-extensions
Request/response validation middlewarehttps://redirect.github.com/oapi-codegen/oapi-codegen#requestresponse-validation-middleware
Implementing securityhttps://redirect.github.com/oapi-codegen/oapi-codegen#implementing-security
On the serverhttps://redirect.github.com/oapi-codegen/oapi-codegen#on-the-server
Deprecated: auth scopes on the request contexthttps://redirect.github.com/oapi-codegen/oapi-codegen#deprecated-auth-scopes-on-the-request-context
On the clienthttps://redirect.github.com/oapi-codegen/oapi-codegen#on-the-client
Custom code generationhttps://redirect.github.com/oapi-codegen/oapi-codegen#custom-code-generation
Local pathshttps://redirect.github.com/oapi-codegen/oapi-codegen#local-paths
HTTPS pathshttps://redirect.github.com/oapi-codegen/oapi-codegen#https-paths
Inline templatehttps://redirect.github.com/oapi-codegen/oapi-codegen#inline-template
Using the Go packagehttps://redirect.github.com/oapi-codegen/oapi-codegen#using-the-go-package
Additional Properties (additionalProperties)https://redirect.github.com/oapi-codegen/oapi-codegen#additional-properties-additionalproperties
Implicit additionalProperties: true / no additionalProperties sethttps://redirect.github.com/oapi-codegen/oapi-codegen#implicit-additionalproperties-true--no-additionalproperties-set
Explicit additionalProperties: truehttps://redirect.github.com/oapi-codegen/oapi-codegen#explicit-additionalproperties-true
additionalProperties as integershttps://redirect.github.com/oapi-codegen/oapi-codegen#additionalproperties-as-integers
additionalProperties with an objecthttps://redirect.github.com/oapi-codegen/oapi-codegen#additionalproperties-with-an-object
Globally skipping the "optional pointer"https://redirect.github.com/oapi-codegen/oapi-codegen#globally-skipping-the-optional-pointer
Changing the names of generated typeshttps://redirect.github.com/oapi-codegen/oapi-codegen#changing-the-names-of-generated-types
Exampleshttps://redirect.github.com/oapi-codegen/oapi-codegen#examples
Blog postshttps://redirect.github.com/oapi-codegen/oapi-codegen#blog-posts
Frequently Asked Questions (FAQs)https://redirect.github.com/oapi-codegen/oapi-codegen#frequently-asked-questions-faqs
Does oapi-codegen support OpenAPI 3.1?https://redirect.github.com/oapi-codegen/oapi-codegen#does-oapi-codegen-support-openapi-31
How does oapi-codegen handle anyOf, allOf and oneOf?https://redirect.github.com/oapi-codegen/oapi-codegen#how-does-oapi-codegen-handle-anyof-allof-and-oneof
How can I ignore parts of the spec I don't care about?https://redirect.github.com/oapi-codegen/oapi-codegen#how-can-i-ignore-parts-of-the-spec-i-dont-care-about
Should I commit the generated code?https://redirect.github.com/oapi-codegen/oapi-codegen#should-i-commit-the-generated-code
Should I lint the generated code?https://redirect.github.com/oapi-codegen/oapi-codegen#should-i-lint-the-generated-code
I've just updated my version of kin-openapi, and now I can't build my code 😠https://redirect.github.com/oapi-codegen/oapi-codegen#ive-just-updated-my-version-of-kin-openapi-and-now-i-cant-build-my-code-
Contributorshttps://redirect.github.com/oapi-codegen/oapi-codegen#contributors
Sponsorshttps://redirect.github.com/oapi-codegen/oapi-codegen#sponsors
https://redirect.github.com/oapi-codegen/oapi-codegen#installation
https://redirect.github.com/oapi-codegen/oapi-codegen#action-required-the-repository-for-this-project-has-changed
May 2024https://github.com/oapi-codegen/oapi-codegen/discussions/1605
https://redirect.github.com/oapi-codegen/oapi-codegen#installing
Supported Servershttps://redirect.github.com/oapi-codegen/oapi-codegen#supported-servers
go tool supporthttps://www.jvt.me/posts/2025/01/27/go-tools-124/
https://redirect.github.com/oapi-codegen/oapi-codegen#pinning-to-commits
yethttps://github.com/oapi-codegen/oapi-codegen/issues/1519
https://redirect.github.com/oapi-codegen/oapi-codegen#usage
oapi-codegen configuration documentationhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/configuration.md
a JSON Schemahttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/configuration-schema.json
Renovatehttps://docs.renovatebot.com/
have Renovate automagically update this version for youhttps://www.jvt.me/posts/2026/03/01/oapi-codegen-config-renovate/
https://redirect.github.com/oapi-codegen/oapi-codegen#backwards-compatibility
people relying upon the behaviourhttps://xkcd.com/1172/
compatibility optionhttps://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen#CompatibilityOptions
Our pkg/ directory is importablehttps://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg
hasn't (yet) been documentedhttps://github.com/oapi-codegen/oapi-codegen/issues/1487
https://redirect.github.com/oapi-codegen/oapi-codegen#features
a number of servershttps://redirect.github.com/oapi-codegen/oapi-codegen#supported-servers
docshttps://redirect.github.com/oapi-codegen/oapi-codegen#generating-server-side-boilerplate
docshttps://redirect.github.com/oapi-codegen/oapi-codegen#generating-api-clients
docshttps://redirect.github.com/oapi-codegen/oapi-codegen#generating-api-models
docshttps://redirect.github.com/oapi-codegen/oapi-codegen#import-mapping
https://redirect.github.com/oapi-codegen/oapi-codegen#what-does-it-look-like
examplehttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/examples/petstore-expanded/stdhttp/api/petstore.gen.go
Strict serverhttps://redirect.github.com/oapi-codegen/oapi-codegen#strict-server
https://redirect.github.com/oapi-codegen/oapi-codegen#key-design-decisions
webhookshttps://spec.openapis.org/oas/v3.1.0#oasWebhooks
OpenAPI 3.2 HTTP methodshttps://redirect.github.com/oapi-codegen/oapi-codegen#openapi-32-http-methods-query-and-additionaloperations
converterhttps://converter.swagger.io/
more detailshttps://redirect.github.com/oapi-codegen/oapi-codegen#additional-properties-additionalproperties
https://redirect.github.com/oapi-codegen/oapi-codegen#generating-server-side-boilerplate
openapi.tanna.dev/go/validatorhttps://openapi.tanna.dev/go/validator/
https://redirect.github.com/oapi-codegen/oapi-codegen#supported-servers
Chihttps://github.com/go-chi/chi
Chi documentationhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/chi-server.md
Echohttps://github.com/labstack/echo
Echo documentationhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/echo-server.md
Echo v5https://github.com/labstack/echo
Echo v5 documentationhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/echo5-server.md
Fiberhttps://github.com/gofiber/fiber
Fiber documentationhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/fiber-server.md
Fiber v3https://github.com/gofiber/fiber
Fiber v3 documentationhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/fiber-v3-server.md
Ginhttps://github.com/gin-gonic/gin
Gin documentationhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/gin-server.md
gorilla/muxhttps://github.com/gorilla/mux
gorilla/mux documentationhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/gorilla-server.md
Irishttps://github.com/kataras/iris
Iris documentationhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/iris-server.md
net/httphttps://pkg.go.dev/net/http
net/http documentationhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/stdhttp-server.md
https://redirect.github.com/oapi-codegen/oapi-codegen#openapi-32-http-methods-query-and-additionaloperations
QUERYhttps://datatracker.ietf.org/doc/draft-ietf-httpbis-safe-method-w-body/
https://redirect.github.com/oapi-codegen/oapi-codegen#strict-server
HTTP 500 Internal Server Errorhttps://http.cat/500
"What does it look like"https://redirect.github.com/oapi-codegen/oapi-codegen#what-does-it-look-like-strict
validation of incoming requestshttps://redirect.github.com/oapi-codegen/oapi-codegen#requestresponse-validation-middleware
issue #2010https://github.com/oapi-codegen/oapi-codegen/issues/2010
https://redirect.github.com/oapi-codegen/oapi-codegen#generating-api-clients
https://redirect.github.com/oapi-codegen/oapi-codegen#with-server-urls
examples/generate/serverurlshttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/examples/generate/serverurls
https://redirect.github.com/oapi-codegen/oapi-codegen#duplicate-types-generated-for-clientss-response-object-types
https://redirect.github.com/oapi-codegen/oapi-codegen#generating-api-models
examples/only-modelshttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/examples/only-models
https://redirect.github.com/oapi-codegen/oapi-codegen#splitting-large-openapi-specs-across-multiple-packages-aka-import-mapping-or-external-references
https://redirect.github.com/oapi-codegen/oapi-codegen#using-a-single-package-with-multiple-openapi-specs
the import-mapping/samepackage examplehttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/examples/import-mapping/samepackage
https://redirect.github.com/oapi-codegen/oapi-codegen#using-multiple-packages-with-one-openapi-spec-per-package
use a single package, with multiple OpenAPI spec files for that given packagehttps://redirect.github.com/oapi-codegen/oapi-codegen#import-mapping-self
bundle your multiple OpenAPI fileshttps://www.jvt.me/posts/2022/02/10/bundle-openapi/
the import-mapping/multiplepackages examplehttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/examples/import-mapping/multiplepackages
https://redirect.github.com/oapi-codegen/oapi-codegen#modifying-the-input-openapi-specification-with-openapi-overlay
our recommendation anywayhttps://redirect.github.com/oapi-codegen/oapi-codegen#https-paths
OpenAPI Overlay specificationhttps://github.com/OAI/Overlay-Specification
proposed modification to the specificationhttps://github.com/OAI/Overlay-Specification/pull/32
RFC 9535https://www.rfc-editor.org/rfc/rfc9535
the overlay examplehttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/examples/overlay
https://redirect.github.com/oapi-codegen/oapi-codegen#generating-nullable-types
v2.1.0https://github.com/oapi-codegen/oapi-codegen/releases/tag/v2.1.0
our new library, oapi-codegen/nullablehttps://github.com/oapi-codegen/nullable
https://redirect.github.com/oapi-codegen/oapi-codegen#openapi-extensions
OpenAPI Specification Extensionshttps://spec.openapis.org/oas/v3.0.3#specification-extensions
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-go-type--x-go-type-import
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-go-type-skip-optional-pointer
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-go-name
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-go-type-name
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-omitempty
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-omitzero
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-go-json-ignore
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-oapi-codegen-extra-tags
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-enum-varnames--x-enumnames
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-deprecated-reason
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-order
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-oapi-codegen-only-honour-go-name
(docs)https://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/extensions.md#x-oapi-codegen-enum-merge
https://redirect.github.com/oapi-codegen/oapi-codegen#requestresponse-validation-middleware
strict serverhttps://redirect.github.com/oapi-codegen/oapi-codegen#strict-server
Chihttps://github.com/go-chi/chi
nethttp-middlewarehttps://github.com/oapi-codegen/nethttp-middleware
Echohttps://github.com/labstack/echo
echo-middlewarehttps://github.com/oapi-codegen/echo-middleware
Fiberhttps://github.com/gofiber/fiber
fiber-middlewarehttps://github.com/oapi-codegen/fiber-middleware
Ginhttps://github.com/gin-gonic/gin
gin-middlewarehttps://github.com/oapi-codegen/gin-middleware
gorilla/muxhttps://github.com/gorilla/mux
nethttp-middlewarehttps://github.com/oapi-codegen/nethttp-middleware
Irishttps://github.com/kataras/iris
iris-middlewarehttps://github.com/oapi-codegen/iris-middleware
net/httphttps://pkg.go.dev/net/http
nethttp-middlewarehttps://github.com/oapi-codegen/nethttp-middleware
nethttp-middlewarehttps://github.com/oapi-codegen/nethttp-middleware
not currently possiblehttps://github.com/oapi-codegen/oapi-codegen/issues/1038
Stricthttps://redirect.github.com/oapi-codegen/oapi-codegen#strict-server
#2605https://github.com/oapi-codegen/oapi-codegen/issues/2605
https://redirect.github.com/oapi-codegen/oapi-codegen#implementing-security
Security Schemeshttps://spec.openapis.org/oas/v3.0.3#security-scheme-object
Security Requirementshttps://spec.openapis.org/oas/v3.0.3#security-requirement-object
https://redirect.github.com/oapi-codegen/oapi-codegen#on-the-server
validation middlewarehttps://redirect.github.com/oapi-codegen/oapi-codegen#requestresponse-validation-middleware
authenticated API examplehttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/examples/authenticated-api/echo
https://redirect.github.com/oapi-codegen/oapi-codegen#deprecated-auth-scopes-on-the-request-context
validation middlewarehttps://redirect.github.com/oapi-codegen/oapi-codegen#requestresponse-validation-middleware
#1524https://github.com/oapi-codegen/oapi-codegen/issues/1524
https://redirect.github.com/oapi-codegen/oapi-codegen#on-the-client
pkg/securityprovider packagehttps://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/securityprovider
https://redirect.github.com/oapi-codegen/oapi-codegen#custom-code-generation
https://redirect.github.com/oapi-codegen/oapi-codegen#local-paths
https://redirect.github.com/oapi-codegen/oapi-codegen#https-paths
this blog posthttps://www.jvt.me/posts/2024/04/27/github-actions-update-file/
this blog posthttps://www.jvt.me/posts/2026/02/27/renovate-update-file
in the futurehttps://github.com/oapi-codegen/oapi-codegen/issues/1564
https://redirect.github.com/oapi-codegen/oapi-codegen#inline-template
https://redirect.github.com/oapi-codegen/oapi-codegen#using-the-go-package
will be documented in the futurehttps://github.com/oapi-codegen/oapi-codegen/issues/1487
https://redirect.github.com/oapi-codegen/oapi-codegen#additional-properties-additionalproperties
OpenAPI Schemashttps://spec.openapis.org/oas/v3.0.3.html#schema-object
this will be possiblehttps://github.com/oapi-codegen/oapi-codegen/issues/1514
https://redirect.github.com/oapi-codegen/oapi-codegen#implicit-additionalproperties-true--no-additionalproperties-set
https://redirect.github.com/oapi-codegen/oapi-codegen#explicit-additionalproperties-true
https://redirect.github.com/oapi-codegen/oapi-codegen#additionalproperties-as-integers
https://redirect.github.com/oapi-codegen/oapi-codegen#additionalproperties-with-an-object
https://redirect.github.com/oapi-codegen/oapi-codegen#globally-skipping-the-optional-pointer
x-go-type-skip-optional-pointer extensionhttps://redirect.github.com/oapi-codegen/oapi-codegen#ext-x-go-type-skip-optional-pointer
the example code for prefer-skip-optional-pointerhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/examples/output-options/preferskipoptionalpointer
example code for prefer-skip-optional-pointer-with-omitzerohttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/examples/output-options/preferskipoptionalpointerwithomitzero
https://redirect.github.com/oapi-codegen/oapi-codegen#changing-the-names-of-generated-types
the test caseshttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/internal/test/options/name_normalizer
https://redirect.github.com/oapi-codegen/oapi-codegen#examples
examples directoryhttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/examples
internal test caseshttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/internal/test
https://redirect.github.com/oapi-codegen/oapi-codegen#blog-posts
Building a Go RESTful API with design-first OpenAPI contractshttps://www.jvt.me/posts/2022/07/12/go-openapi-server/
A Practical Guide to Using oapi-codegen in Golang API Development with the Fiber Frameworkhttps://medium.com/@fikihalan/a-practical-guide-to-using-oapi-codegen-in-golang-api-development-with-the-fiber-framework-bce2a59380ae
Generating Go server code from OpenAPI 3 definitionshttps://ldej.nl/post/generating-go-from-openapi-3/
Go Client Code Generation from Swagger and OpenAPIhttps://medium.com/@kyodo-tech/go-client-code-generation-from-swagger-and-openapi-a0576831836c
Go oapi-codegen + request validationhttps://blog.commitsmart.com/go-oapi-codegen-request-validation-285398b37dc8
Streamlining Go + Chi Development: Generating Code from an OpenAPI Spechttps://i4o.dev/blog/oapi-codegen-with-chi-router
https://redirect.github.com/oapi-codegen/oapi-codegen#frequently-asked-questions-faqs
https://redirect.github.com/oapi-codegen/oapi-codegen#does-oapi-codegen-support-openapi-31
#2336https://github.com/oapi-codegen/oapi-codegen/pull/2336
webhookshttps://spec.openapis.org/oas/v3.1.0#oasWebhooks
use OpenAPI Overlayhttps://redirect.github.com/oapi-codegen/oapi-codegen#modifying-the-input-openapi-specification-with-openapi-overlay
steps from this blog posthttps://www.jvt.me/posts/2025/05/04/oapi-codegen-trick-openapi-3-1/
https://redirect.github.com/oapi-codegen/oapi-codegen#how-does-oapi-codegen-handle-anyof-allof-and-oneof
How allOf, anyOf and oneOf become Go typeshttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/docs/schema-merging.md
the example codehttps://redirect.github.com/oapi-codegen/oapi-codegen/blob/main/examples/anyof-allof-oneof
https://redirect.github.com/oapi-codegen/oapi-codegen#how-can-i-ignore-parts-of-the-spec-i-dont-care-about
the configuration filehttps://redirect.github.com/oapi-codegen/oapi-codegen#usage
the docshttps://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen#OutputOptions
https://redirect.github.com/oapi-codegen/oapi-codegen#should-i-commit-the-generated-code
https://redirect.github.com/oapi-codegen/oapi-codegen#should-i-lint-the-generated-code
https://redirect.github.com/oapi-codegen/oapi-codegen#ive-just-updated-my-version-of-kin-openapi-and-now-i-cant-build-my-code-
kin-openapihttps://github.com/getkin/kin-openapi
https://redirect.github.com/oapi-codegen/oapi-codegen#contributors
the many contributors over the yearshttps://github.com/oapi-codegen/oapi-codegen/graphs/contributors
https://github.com/oapi-codegen/oapi-codegen/graphs/contributors
https://redirect.github.com/oapi-codegen/oapi-codegen#sponsors
Creating a more sustainable model for oapi-codegen in the futurehttps://github.com/oapi-codegen/oapi-codegen/discussions/1606
on the organisationhttps://github.com/sponsors/oapi-codegen/
directly for Jamiehttps://github.com/sponsors/jamietanna/
this blog post from Tidelifthttps://blog.tidelift.com/paying-maintainers-the-howto
https://www.devzero.io/lp/dev-environment?utm_campaign=github&utm_source=oapi-codegen%20repo&utm_medium=github%20sponsorship
https://cybozu.co.jp/?utm_source=oapi-codegen+repo&utm_medium=github+sponsorship
https://elastic.co?utm_source=oapi-codegen+repo&utm_medium=github+sponsorship
gohttps://redirect.github.com/topics/go
golanghttps://redirect.github.com/topics/golang
openapihttps://redirect.github.com/topics/openapi
openapi-codegenhttps://redirect.github.com/topics/openapi-codegen
openapi-generatorhttps://redirect.github.com/topics/openapi-generator
openapi3https://redirect.github.com/topics/openapi3
rest-apihttps://redirect.github.com/topics/rest-api
rest-api-clienthttps://redirect.github.com/topics/rest-api-client
swaggerhttps://redirect.github.com/topics/swagger
Readmehttps://redirect.github.com/oapi-codegen/oapi-codegen#readme-ov-file
Apache-2.0 licensehttps://redirect.github.com/oapi-codegen/oapi-codegen#Apache-2.0-1-ov-file
Contributinghttps://redirect.github.com/oapi-codegen/oapi-codegen#contributing-ov-file
Security policyhttps://redirect.github.com/oapi-codegen/oapi-codegen#security-ov-file
Activityhttps://redirect.github.com/oapi-codegen/oapi-codegen/activity
Custom propertieshttps://redirect.github.com/oapi-codegen/oapi-codegen/custom-properties
1.1k forkshttps://redirect.github.com/oapi-codegen/oapi-codegen/forks
Report repositoryhttps://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen&report=oapi-codegen+%28user%29
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.