René's URL Explorer Experiment


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

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: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:ad4017f7-6cde-d082-a717-0e786653c641
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id8B58:28656B:1042B65:16B9CE0:696A40C0
html-safe-nonce4c68ca97bc3a4ef6d3f121d2f2724a8f12135073687e40f85783a1619f2eab53
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjU4OjI4NjU2QjoxMDQyQjY1OjE2QjlDRTA6Njk2QTQwQzAiLCJ2aXNpdG9yX2lkIjoiNjg1ODcwMjE1MDg0NjUyOTcyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1eef53034f0a507f3bf026bdebf2071b510bafeb8ecc894837582fe914d3f3cf
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/cc551e3dce62d6ca87c4f49276075c9ca73672da994948ee744f8cef5e80b3d0/oapi-codegen/oapi-codegen
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cc551e3dce62d6ca87c4f49276075c9ca73672da994948ee744f8cef5e80b3d0/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
None321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538
turbo-cache-controlno-preview
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
release13581a31d51edf4a3aca179e10890a4d4f9b6d76
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/deepmap/oapi-codegen#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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
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&source=header-repo&source_repo=oapi-codegen%2Foapi-codegen
Reloadhttps://github.com/deepmap/oapi-codegen
Reloadhttps://github.com/deepmap/oapi-codegen
Reloadhttps://github.com/deepmap/oapi-codegen
oapi-codegen https://github.com/oapi-codegen
oapi-codegenhttps://github.com/oapi-codegen/oapi-codegen
Please reload this pagehttps://github.com/deepmap/oapi-codegen
Notifications https://github.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Fork 1k https://github.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Star 8k https://github.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Apache-2.0 license https://github.com/oapi-codegen/oapi-codegen/blob/main/LICENSE
8k stars https://github.com/oapi-codegen/oapi-codegen/stargazers
1k forks https://github.com/oapi-codegen/oapi-codegen/forks
Branches https://github.com/oapi-codegen/oapi-codegen/branches
Tags https://github.com/oapi-codegen/oapi-codegen/tags
Activity https://github.com/oapi-codegen/oapi-codegen/activity
Star https://github.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Notifications https://github.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Code https://github.com/oapi-codegen/oapi-codegen
Issues 557 https://github.com/oapi-codegen/oapi-codegen/issues
Pull requests 202 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 1 https://github.com/oapi-codegen/oapi-codegen/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/oapi-codegen/oapi-codegen/security
Please reload this pagehttps://github.com/deepmap/oapi-codegen
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 https://github.com/oapi-codegen/oapi-codegen/security
Insights https://github.com/oapi-codegen/oapi-codegen/pulse
Brancheshttps://github.com/oapi-codegen/oapi-codegen/branches
Tagshttps://github.com/oapi-codegen/oapi-codegen/tags
https://github.com/oapi-codegen/oapi-codegen/branches
https://github.com/oapi-codegen/oapi-codegen/tags
930 Commitshttps://github.com/oapi-codegen/oapi-codegen/commits/main/
https://github.com/oapi-codegen/oapi-codegen/commits/main/
.githubhttps://github.com/oapi-codegen/oapi-codegen/tree/main/.github
.githubhttps://github.com/oapi-codegen/oapi-codegen/tree/main/.github
cmd/oapi-codegenhttps://github.com/oapi-codegen/oapi-codegen/tree/main/cmd/oapi-codegen
cmd/oapi-codegenhttps://github.com/oapi-codegen/oapi-codegen/tree/main/cmd/oapi-codegen
exampleshttps://github.com/oapi-codegen/oapi-codegen/tree/main/examples
exampleshttps://github.com/oapi-codegen/oapi-codegen/tree/main/examples
internal/testhttps://github.com/oapi-codegen/oapi-codegen/tree/main/internal/test
internal/testhttps://github.com/oapi-codegen/oapi-codegen/tree/main/internal/test
pkghttps://github.com/oapi-codegen/oapi-codegen/tree/main/pkg
pkghttps://github.com/oapi-codegen/oapi-codegen/tree/main/pkg
.editorconfighttps://github.com/oapi-codegen/oapi-codegen/blob/main/.editorconfig
.editorconfighttps://github.com/oapi-codegen/oapi-codegen/blob/main/.editorconfig
.gitattributeshttps://github.com/oapi-codegen/oapi-codegen/blob/main/.gitattributes
.gitattributeshttps://github.com/oapi-codegen/oapi-codegen/blob/main/.gitattributes
.gitignorehttps://github.com/oapi-codegen/oapi-codegen/blob/main/.gitignore
.gitignorehttps://github.com/oapi-codegen/oapi-codegen/blob/main/.gitignore
CONTRIBUTING.mdhttps://github.com/oapi-codegen/oapi-codegen/blob/main/CONTRIBUTING.md
CONTRIBUTING.mdhttps://github.com/oapi-codegen/oapi-codegen/blob/main/CONTRIBUTING.md
LICENSEhttps://github.com/oapi-codegen/oapi-codegen/blob/main/LICENSE
LICENSEhttps://github.com/oapi-codegen/oapi-codegen/blob/main/LICENSE
Makefilehttps://github.com/oapi-codegen/oapi-codegen/blob/main/Makefile
Makefilehttps://github.com/oapi-codegen/oapi-codegen/blob/main/Makefile
README.mdhttps://github.com/oapi-codegen/oapi-codegen/blob/main/README.md
README.mdhttps://github.com/oapi-codegen/oapi-codegen/blob/main/README.md
SUPPORT.mdhttps://github.com/oapi-codegen/oapi-codegen/blob/main/SUPPORT.md
SUPPORT.mdhttps://github.com/oapi-codegen/oapi-codegen/blob/main/SUPPORT.md
configuration-schema.jsonhttps://github.com/oapi-codegen/oapi-codegen/blob/main/configuration-schema.json
configuration-schema.jsonhttps://github.com/oapi-codegen/oapi-codegen/blob/main/configuration-schema.json
go.modhttps://github.com/oapi-codegen/oapi-codegen/blob/main/go.mod
go.modhttps://github.com/oapi-codegen/oapi-codegen/blob/main/go.mod
go.sumhttps://github.com/oapi-codegen/oapi-codegen/blob/main/go.sum
go.sumhttps://github.com/oapi-codegen/oapi-codegen/blob/main/go.sum
renovate.jsonhttps://github.com/oapi-codegen/oapi-codegen/blob/main/renovate.json
renovate.jsonhttps://github.com/oapi-codegen/oapi-codegen/blob/main/renovate.json
READMEhttps://github.com/deepmap/oapi-codegen
Contributinghttps://github.com/deepmap/oapi-codegen
Apache-2.0 licensehttps://github.com/deepmap/oapi-codegen
Securityhttps://github.com/deepmap/oapi-codegen
https://github.com/deepmap/oapi-codegen#oapi-codegen
https://www.bestpractices.dev/projects/9450
server-side implementationshttps://github.com/deepmap/oapi-codegen#generating-server-side-boilerplate
API clientshttps://github.com/deepmap/oapi-codegen#generating-api-clients
HTTP modelshttps://github.com/deepmap/oapi-codegen#generating-api-models
OpenAPI 3.0https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md
Key Design Decisionshttps://github.com/deepmap/oapi-codegen#key-design-decisions
oapi-codegen organisation on GitHubhttps://github.com/oapi-codegen
https://github.com/deepmap/oapi-codegen#action-required-the-repository-for-this-project-has-changed
May 2024https://github.com/oapi-codegen/oapi-codegen/discussions/1605
https://github.com/deepmap/oapi-codegen#install
https://github.com/deepmap/oapi-codegen#for-go-124
the go tool support available from Go 1.24+https://www.jvt.me/posts/2025/01/27/go-tools-124/
https://github.com/deepmap/oapi-codegen#prior-to-go-124
the tools.go patternhttps://www.jvt.me/posts/2022/06/15/go-tools-dependency-management/
move your tools.go into its own sub-modulehttps://www.jvt.me/posts/2024/09/30/go-tools-module/
https://github.com/deepmap/oapi-codegen#pinning-to-commits
yethttps://github.com/oapi-codegen/oapi-codegen/issues/1519
https://github.com/deepmap/oapi-codegen#usage
the GoDoc for codegen.Configurationhttps://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen#Configuration
a JSON Schemahttps://github.com/oapi-codegen/oapi-codegen/blob/main/configuration-schema.json
https://github.com/deepmap/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
https://github.com/deepmap/oapi-codegen#features
a number of servershttps://github.com/deepmap/oapi-codegen#supported-servers
docshttps://github.com/deepmap/oapi-codegen#generating-server-side-boilerplate
docshttps://github.com/deepmap/oapi-codegen#generating-api-clients
docshttps://github.com/deepmap/oapi-codegen#generating-api-models
docshttps://github.com/deepmap/oapi-codegen#import-mapping
https://github.com/deepmap/oapi-codegen#what-does-it-look-like
examplehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/petstore-expanded/stdhttp/api/petstore.gen.go
Strict serverhttps://github.com/deepmap/oapi-codegen#strict-server
https://github.com/deepmap/oapi-codegen#key-design-decisions
awaiting upstream supporthttps://github.com/oapi-codegen/oapi-codegen/issues/373
more detailshttps://github.com/deepmap/oapi-codegen#additional-properties-additionalproperties
https://github.com/deepmap/oapi-codegen#generating-server-side-boilerplate
openapi.tanna.dev/go/validatorhttps://openapi.tanna.dev/go/validator/
https://github.com/deepmap/oapi-codegen#supported-servers
Chihttps://github.com/go-chi/chi
the Chi docshttps://github.com/deepmap/oapi-codegen#impl-chi
Echohttps://github.com/labstack/echo
the Echo docshttps://github.com/deepmap/oapi-codegen#impl-echo
Fiberhttps://github.com/gofiber/fiber
the Fiber docshttps://github.com/deepmap/oapi-codegen#impl-fiber
Ginhttps://github.com/gin-gonic/gin
the Gin docshttps://github.com/deepmap/oapi-codegen#impl-gin
gorilla/muxhttps://github.com/gorilla/mux
the gorilla/mux docshttps://github.com/deepmap/oapi-codegen#impl-gorillamux
Irishttps://github.com/kataras/iris
the Iris docshttps://github.com/deepmap/oapi-codegen#impl-iris
1.22+ net/httphttps://pkg.go.dev/net/http
the Go 1.22+ net/http docshttps://github.com/deepmap/oapi-codegen#impl-stdhttp
https://github.com/deepmap/oapi-codegen#go-122-nethttp
api/impl.gohttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/minimal-server/stdhttp/api/impl.go
validation of incoming requestshttps://github.com/deepmap/oapi-codegen#requestresponse-validation-middleware
https://github.com/deepmap/oapi-codegen#chi
api/impl.gohttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/minimal-server/chi/api/impl.go
validation of incoming requestshttps://github.com/deepmap/oapi-codegen#requestresponse-validation-middleware
https://github.com/deepmap/oapi-codegen#gorillamux
api/impl.gohttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/minimal-server/gorillamux/api/impl.go
validation of incoming requestshttps://github.com/deepmap/oapi-codegen#requestresponse-validation-middleware
https://github.com/deepmap/oapi-codegen#echo-server
api/impl.gohttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/minimal-server/echo/api/impl.go
validation of incoming requestshttps://github.com/deepmap/oapi-codegen#requestresponse-validation-middleware
https://github.com/deepmap/oapi-codegen#fiber-server
api/impl.gohttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/minimal-server/fiber/api/impl.go
validation of incoming requestshttps://github.com/deepmap/oapi-codegen#requestresponse-validation-middleware
https://github.com/deepmap/oapi-codegen#gin-server
api/impl.gohttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/minimal-server/gorillamux/api/impl.go
validation of incoming requestshttps://github.com/deepmap/oapi-codegen#requestresponse-validation-middleware
https://github.com/deepmap/oapi-codegen#iris-server
api/impl.gohttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/minimal-server/gorillamux/api/impl.go
validation of incoming requestshttps://github.com/deepmap/oapi-codegen#requestresponse-validation-middleware
https://github.com/deepmap/oapi-codegen#strict-server
HTTP 500 Internal Server Errorhttps://http.cat/500
"What does it look like"https://github.com/deepmap/oapi-codegen#what-does-it-look-like-strict
validation of incoming requestshttps://github.com/deepmap/oapi-codegen#requestresponse-validation-middleware
https://github.com/deepmap/oapi-codegen#generating-api-clients
https://github.com/deepmap/oapi-codegen#with-server-urls
examples/generate/serverurlshttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/generate/serverurls
https://github.com/deepmap/oapi-codegen#duplicate-types-generated-for-clientss-response-object-types
https://github.com/deepmap/oapi-codegen#generating-api-models
examples/only-modelshttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/only-models
https://github.com/deepmap/oapi-codegen#splitting-large-openapi-specs-across-multiple-packages-aka-import-mapping-or-external-references
https://github.com/deepmap/oapi-codegen#using-a-single-package-with-multiple-openapi-specs
the import-mapping/samepackage examplehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/import-mapping/samepackage
https://github.com/deepmap/oapi-codegen#using-multiple-packages-with-one-openapi-spec-per-package
use a single package, with multiple OpenAPI spec files for that given packagehttps://github.com/deepmap/oapi-codegen#import-mapping-self
bundle your multiple OpenAPI fileshttps://www.jvt.me/posts/2022/02/10/bundle-openapi/
the import-mapping/multiplepackages examplehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/import-mapping/multiplepackages
https://github.com/deepmap/oapi-codegen#modifying-the-input-openapi-specification-with-openapi-overlay
our recommendation anywayhttps://github.com/deepmap/oapi-codegen#https-paths
OpenAPI Overlay specificationhttps://github.com/OAI/Overlay-Specification
proposed modification to the specificationhttps://github.com/OAI/Overlay-Specification/pull/32
the overlay examplehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/overlay
https://github.com/deepmap/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://github.com/deepmap/oapi-codegen#openapi-extensions
OpenAPI Specification Extensionshttps://spec.openapis.org/oas/v3.0.3#specification-extensions
https://github.com/deepmap/oapi-codegen#x-go-type--x-go-type-import---override-the-generated-type-definition-and-optionally-add-an-import-from-another-package
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xgotype
https://github.com/deepmap/oapi-codegen#x-go-type-skip-optional-pointer---do-not-add-a-pointer-type-for-optional-fields-in-structs
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xgotypeskipoptionalpointer
https://github.com/deepmap/oapi-codegen#x-go-name---override-the-generated-name-of-a-field-or-a-type
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xgoname
https://github.com/deepmap/oapi-codegen#x-go-type-name---override-the-generated-name-of-a-type
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xgotypename
https://github.com/deepmap/oapi-codegen#x-omitempty---force-the-presence-of-the-json-tag-omitempty-on-a-field
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xomitempty
https://github.com/deepmap/oapi-codegen#x-omitzero---force-the-presence-of-the-json-tag-omitzero-on-a-field
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xomitzero
https://github.com/deepmap/oapi-codegen#x-go-json-ignore---when-unmarshaling-json-ignore-fields
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xgojsonignore
https://github.com/deepmap/oapi-codegen#x-oapi-codegen-extra-tags---generate-arbitrary-struct-tags-to-fields
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xoapicodegenextratags
https://github.com/deepmap/oapi-codegen#x-enum-varnames--x-enumnames---override-generated-variable-names-for-enum-constants
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xenumnames
https://github.com/deepmap/oapi-codegen#x-deprecated-reason---add-a-godoc-deprecation-warning-to-a-type
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xdeprecatedreason
https://github.com/deepmap/oapi-codegen#x-order---explicitly-order-struct-fields
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xorder
https://github.com/deepmap/oapi-codegen#x-oapi-codegen-only-honour-go-name---only-honour-the-x-go-name-when-generating-field-names
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/extensions/xoapicodegenonlyhonourgoname
https://github.com/deepmap/oapi-codegen#requestresponse-validation-middleware
strict serverhttps://github.com/deepmap/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
1.22+ 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
exploringhttps://github.com/oapi-codegen/exp/issues/1
libopenapi-validatorhttps://github.com/pb33f/libopenapi-validator/
https://github.com/deepmap/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://github.com/deepmap/oapi-codegen#on-the-server
validation middlewarehttps://github.com/deepmap/oapi-codegen#requestresponse-validation-middleware
implement server-side validation in the generated codehttps://github.com/oapi-codegen/oapi-codegen/issues/1524
authenticated API examplehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/authenticated-api/echo
https://github.com/deepmap/oapi-codegen#on-the-client
pkg/securityprovider packagehttps://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/securityprovider
https://github.com/deepmap/oapi-codegen#custom-code-generation
https://github.com/deepmap/oapi-codegen#local-paths
https://github.com/deepmap/oapi-codegen#https-paths
this blog posthttps://www.jvt.me/posts/2024/04/27/github-actions-update-file/
in the futurehttps://github.com/oapi-codegen/oapi-codegen/issues/1564
https://github.com/deepmap/oapi-codegen#inline-template
https://github.com/deepmap/oapi-codegen#using-the-go-package
will be documented in the futurehttps://github.com/oapi-codegen/oapi-codegen/issues/1487
https://github.com/deepmap/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://github.com/deepmap/oapi-codegen#implicit-additionalproperties-true--no-additionalproperties-set
https://github.com/deepmap/oapi-codegen#explicit-additionalproperties-true
https://github.com/deepmap/oapi-codegen#additionalproperties-as-integers
https://github.com/deepmap/oapi-codegen#additionalproperties-with-an-object
https://github.com/deepmap/oapi-codegen#globally-skipping-the-optional-pointer
x-go-type-skip-optional-pointer extensionhttps://github.com/deepmap/oapi-codegen#ext-x-go-type-skip-optional-pointer
the example code for prefer-skip-optional-pointerhttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/output-options/preferskipoptionalpointer
example code for prefer-skip-optional-pointer-with-omitzerohttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/output-options/preferskipoptionalpointerwithomitzero
https://github.com/deepmap/oapi-codegen#changing-the-names-of-generated-types
the test caseshttps://github.com/oapi-codegen/oapi-codegen/blob/main/internal/test/outputoptions/name-normalizer
https://github.com/deepmap/oapi-codegen#examples
examples directoryhttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples
internal test caseshttps://github.com/oapi-codegen/oapi-codegen/blob/main/internal/test
https://github.com/deepmap/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://github.com/deepmap/oapi-codegen#frequently-asked-questions-faqs
https://github.com/deepmap/oapi-codegen#does-oapi-codegen-support-openapi-31
awaiting upstream supporthttps://github.com/oapi-codegen/oapi-codegen/issues/373
steps from this blog posthttps://www.jvt.me/posts/2025/05/04/oapi-codegen-trick-openapi-3-1/
use OpenAPI Overlayhttps://github.com/deepmap/oapi-codegen#modifying-the-input-openapi-specification-with-openapi-overlay
https://github.com/deepmap/oapi-codegen#how-does-oapi-codegen-handle-anyof-allof-and-oneof
the example codehttps://github.com/oapi-codegen/oapi-codegen/blob/main/examples/anyof-allof-oneof
https://github.com/deepmap/oapi-codegen#how-can-i-ignore-parts-of-the-spec-i-dont-care-about
the configuration filehttps://github.com/deepmap/oapi-codegen#usage
the docshttps://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen#OutputOptions
https://github.com/deepmap/oapi-codegen#should-i-commit-the-generated-code
https://github.com/deepmap/oapi-codegen#should-i-lint-the-generated-code
https://github.com/deepmap/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://github.com/deepmap/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://github.com/deepmap/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://sandbox.speakeasy.com/?s=iQ5hEdrjLCii&utm_source=oapi-codegen+repo&utm_medium=github+sponsorship
https://cybozu.co.jp/?utm_source=oapi-codegen+repo&utm_medium=github+sponsorship
https://livepeer.org/?utm_source=oapi-codegen+repo&utm_medium=github+sponsorship
go https://github.com/topics/go
golang https://github.com/topics/golang
rest-api https://github.com/topics/rest-api
swagger https://github.com/topics/swagger
openapi https://github.com/topics/openapi
openapi3 https://github.com/topics/openapi3
openapi-codegen https://github.com/topics/openapi-codegen
openapi-generator https://github.com/topics/openapi-generator
rest-api-client https://github.com/topics/rest-api-client
Readme https://github.com/deepmap/oapi-codegen#readme-ov-file
Apache-2.0 license https://github.com/deepmap/oapi-codegen#Apache-2.0-1-ov-file
Contributing https://github.com/deepmap/oapi-codegen#contributing-ov-file
Security policy https://github.com/deepmap/oapi-codegen#security-ov-file
Please reload this pagehttps://github.com/deepmap/oapi-codegen
Activityhttps://github.com/oapi-codegen/oapi-codegen/activity
Custom propertieshttps://github.com/oapi-codegen/oapi-codegen/custom-properties
8k starshttps://github.com/oapi-codegen/oapi-codegen/stargazers
39 watchinghttps://github.com/oapi-codegen/oapi-codegen/watchers
1k forkshttps://github.com/oapi-codegen/oapi-codegen/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen&report=oapi-codegen+%28user%29
Releases 82https://github.com/oapi-codegen/oapi-codegen/releases
v2.5.1: fix a couple of regressions from v2.5.0 Latest Nov 1, 2025 https://github.com/oapi-codegen/oapi-codegen/releases/tag/v2.5.1
+ 81 releaseshttps://github.com/oapi-codegen/oapi-codegen/releases
Please reload this pagehttps://github.com/deepmap/oapi-codegen
tidelift.com/funding/github/go/github.com/oapi-codegen/oapi-codegen/v2https://tidelift.com/funding/github/go/github.com/oapi-codegen/oapi-codegen/v2
opencollective.com/oapi-codegenhttps://opencollective.com/oapi-codegen
Learn more about GitHub Sponsorshttps://github.com/sponsors
Used by 9.9khttps://github.com/oapi-codegen/oapi-codegen/network/dependents
+ 9,859 https://github.com/oapi-codegen/oapi-codegen/network/dependents
Contributors 252https://github.com/oapi-codegen/oapi-codegen/graphs/contributors
https://github.com/jamietanna
https://github.com/apps/renovate
https://github.com/apps/dependabot
https://github.com/deepmap-marcinr
https://github.com/alexandear
https://github.com/ShouheiNishi
https://github.com/weitzj
https://github.com/mycrEEpy
https://github.com/stevenh
https://github.com/Jleagle
https://github.com/chrusty
https://github.com/natsukagami
https://github.com/gitu
https://github.com/dududko
+ 238 contributorshttps://github.com/oapi-codegen/oapi-codegen/graphs/contributors
Go 99.3% https://github.com/oapi-codegen/oapi-codegen/search?l=go
Makefile 0.7% https://github.com/oapi-codegen/oapi-codegen/search?l=makefile
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.