René's URL Explorer Experiment


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

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

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

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

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

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

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:d5e661a4-73b2-57bf-898e-b9aa9719aca8
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id8104:3C1C49:1DEF54A:2757986:6B0339DF
html-safe-noncedc313f54c04c43ed93952469676ba019b19266171c75baab45e33f6e7e63bd4e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTA0OjNDMUM0OToxREVGNTRBOjI3NTc5ODY6NkIwMzM5REYiLCJ2aXNpdG9yX2lkIjoiMTYwNDYyOTg2NDUxMDQwNzM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbc0466d1424051db8e19f2ca0db3eea1d9621ea5b6a4a9280bf074ff2fabc8b9
hovercard-subject-tagrepository:1333908947
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/cem-clemta/oapi-codegen
twitter:imagehttps://opengraph.githubassets.com/708153bc97d3b15cd96b7d00e4a12ae25a0e098ab4d78cb2b6cad6ea77031f03/cem-clemta/oapi-codegen
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/708153bc97d3b15cd96b7d00e4a12ae25a0e098ab4d78cb2b6cad6ea77031f03/cem-clemta/oapi-codegen
og:image:altGenerate Go client and server boilerplate from OpenAPI 3 specifications - cem-clemta/oapi-codegen
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/cem-clemta/oapi-codegen git https://github.com/cem-clemta/oapi-codegen.git
octolytics-dimension-user_id209385608
octolytics-dimension-user_logincem-clemta
octolytics-dimension-repository_id1333908947
octolytics-dimension-repository_nwocem-clemta/oapi-codegen
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id173009358
octolytics-dimension-repository_parent_nwooapi-codegen/oapi-codegen
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cem-clemta/oapi-codegen#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcem-clemta%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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcem-clemta%2Foapi-codegen
Sign uphttps://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=cem-clemta%2Foapi-codegen
Reloadhttps://github.com/cem-clemta/oapi-codegen
Reloadhttps://github.com/cem-clemta/oapi-codegen
Reloadhttps://github.com/cem-clemta/oapi-codegen
cem-clemtahttps://github.com/cem-clemta
oapi-codegenhttps://github.com/cem-clemta/oapi-codegen
Codehttps://github.com/cem-clemta/oapi-codegen
Pull requestshttps://github.com/cem-clemta/oapi-codegen/pulls
Actionshttps://github.com/cem-clemta/oapi-codegen/actions
Projectshttps://github.com/cem-clemta/oapi-codegen/projects
Security and qualityhttps://github.com/cem-clemta/oapi-codegen/security
Insightshttps://github.com/cem-clemta/oapi-codegen/pulse
https://github.com/cem-clemta/oapi-codegen
oapi-codegenhttps://github.com/cem-clemta/oapi-codegen
oapi-codegen/oapi-codegenhttps://github.com/oapi-codegen/oapi-codegen
Notificationshttps://github.com/login?return_to=%2Fcem-clemta%2Foapi-codegen
Fork0 (0)https://github.com/login?return_to=%2Fcem-clemta%2Foapi-codegen
Star0 (0)https://github.com/login?return_to=%2Fcem-clemta%2Foapi-codegen
Readmehttps://github.com/cem-clemta/oapi-codegen#readme-ov-file
Licensehttps://github.com/cem-clemta/oapi-codegen#License-1-ov-file
Contributinghttps://github.com/cem-clemta/oapi-codegen#contributing-ov-file
Activityhttps://github.com/cem-clemta/oapi-codegen/activity
0 forkshttps://github.com/cem-clemta/oapi-codegen/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fcem-clemta%2Foapi-codegen&report=cem-clemta+%28user%29
Brancheshttps://github.com/cem-clemta/oapi-codegen/branches
Tagshttps://github.com/cem-clemta/oapi-codegen/tags
https://github.com/cem-clemta/oapi-codegen/branches
https://github.com/cem-clemta/oapi-codegen/tags
1,178 Commitshttps://github.com/cem-clemta/oapi-codegen/commits/main/
https://github.com/cem-clemta/oapi-codegen/commits/main/
.githubhttps://github.com/cem-clemta/oapi-codegen/tree/main/.github
.githubhttps://github.com/cem-clemta/oapi-codegen/tree/main/.github
.greptilehttps://github.com/cem-clemta/oapi-codegen/tree/main/.greptile
.greptilehttps://github.com/cem-clemta/oapi-codegen/tree/main/.greptile
cmd/oapi-codegenhttps://github.com/cem-clemta/oapi-codegen/tree/main/cmd/oapi-codegen
cmd/oapi-codegenhttps://github.com/cem-clemta/oapi-codegen/tree/main/cmd/oapi-codegen
docshttps://github.com/cem-clemta/oapi-codegen/tree/main/docs
docshttps://github.com/cem-clemta/oapi-codegen/tree/main/docs
exampleshttps://github.com/cem-clemta/oapi-codegen/tree/main/examples
exampleshttps://github.com/cem-clemta/oapi-codegen/tree/main/examples
internal/testhttps://github.com/cem-clemta/oapi-codegen/tree/main/internal/test
internal/testhttps://github.com/cem-clemta/oapi-codegen/tree/main/internal/test
pkghttps://github.com/cem-clemta/oapi-codegen/tree/main/pkg
pkghttps://github.com/cem-clemta/oapi-codegen/tree/main/pkg
.editorconfighttps://github.com/cem-clemta/oapi-codegen/blob/main/.editorconfig
.editorconfighttps://github.com/cem-clemta/oapi-codegen/blob/main/.editorconfig
.gitattributeshttps://github.com/cem-clemta/oapi-codegen/blob/main/.gitattributes
.gitattributeshttps://github.com/cem-clemta/oapi-codegen/blob/main/.gitattributes
.gitignorehttps://github.com/cem-clemta/oapi-codegen/blob/main/.gitignore
.gitignorehttps://github.com/cem-clemta/oapi-codegen/blob/main/.gitignore
CONTRIBUTING.mdhttps://github.com/cem-clemta/oapi-codegen/blob/main/CONTRIBUTING.md
CONTRIBUTING.mdhttps://github.com/cem-clemta/oapi-codegen/blob/main/CONTRIBUTING.md
LICENSEhttps://github.com/cem-clemta/oapi-codegen/blob/main/LICENSE
LICENSEhttps://github.com/cem-clemta/oapi-codegen/blob/main/LICENSE
Makefilehttps://github.com/cem-clemta/oapi-codegen/blob/main/Makefile
Makefilehttps://github.com/cem-clemta/oapi-codegen/blob/main/Makefile
README.mdhttps://github.com/cem-clemta/oapi-codegen/blob/main/README.md
README.mdhttps://github.com/cem-clemta/oapi-codegen/blob/main/README.md
SUPPORT.mdhttps://github.com/cem-clemta/oapi-codegen/blob/main/SUPPORT.md
SUPPORT.mdhttps://github.com/cem-clemta/oapi-codegen/blob/main/SUPPORT.md
configuration-schema.jsonhttps://github.com/cem-clemta/oapi-codegen/blob/main/configuration-schema.json
configuration-schema.jsonhttps://github.com/cem-clemta/oapi-codegen/blob/main/configuration-schema.json
go.modhttps://github.com/cem-clemta/oapi-codegen/blob/main/go.mod
go.modhttps://github.com/cem-clemta/oapi-codegen/blob/main/go.mod
go.sumhttps://github.com/cem-clemta/oapi-codegen/blob/main/go.sum
go.sumhttps://github.com/cem-clemta/oapi-codegen/blob/main/go.sum
renovate.jsonhttps://github.com/cem-clemta/oapi-codegen/blob/main/renovate.json
renovate.jsonhttps://github.com/cem-clemta/oapi-codegen/blob/main/renovate.json
READMEhttps://github.com/cem-clemta/oapi-codegen
Contributinghttps://github.com/cem-clemta/oapi-codegen
Licensehttps://github.com/cem-clemta/oapi-codegen
https://github.com/cem-clemta/oapi-codegen#oapi-codegen
https://www.bestpractices.dev/projects/9450
server-side implementationshttps://github.com/cem-clemta/oapi-codegen#generating-server-side-boilerplate
API clientshttps://github.com/cem-clemta/oapi-codegen#generating-api-clients
HTTP modelshttps://github.com/cem-clemta/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://github.com/cem-clemta/oapi-codegen#key-design-decisions
oapi-codegen organisation on GitHubhttps://github.com/oapi-codegen
https://github.com/cem-clemta/oapi-codegen#table-of-contents
Installationhttps://github.com/cem-clemta/oapi-codegen#installation
Action Required: The repository for this project has changedhttps://github.com/cem-clemta/oapi-codegen#action-required-the-repository-for-this-project-has-changed
Installinghttps://github.com/cem-clemta/oapi-codegen#installing
Pinning to commitshttps://github.com/cem-clemta/oapi-codegen#pinning-to-commits
Usagehttps://github.com/cem-clemta/oapi-codegen#usage
Backwards compatibilityhttps://github.com/cem-clemta/oapi-codegen#backwards-compatibility
Featureshttps://github.com/cem-clemta/oapi-codegen#features
What does it look like?https://github.com/cem-clemta/oapi-codegen#what-does-it-look-like
Key design decisionshttps://github.com/cem-clemta/oapi-codegen#key-design-decisions
Generating server-side boilerplatehttps://github.com/cem-clemta/oapi-codegen#generating-server-side-boilerplate
Supported Servershttps://github.com/cem-clemta/oapi-codegen#supported-servers
Strict serverhttps://github.com/cem-clemta/oapi-codegen#strict-server
Generating API clientshttps://github.com/cem-clemta/oapi-codegen#generating-api-clients
With Server URLshttps://github.com/cem-clemta/oapi-codegen#with-server-urls
Duplicate types generated for clients's response object typeshttps://github.com/cem-clemta/oapi-codegen#duplicate-types-generated-for-clientss-response-object-types
Generating API modelshttps://github.com/cem-clemta/oapi-codegen#generating-api-models
Splitting large OpenAPI specs across multiple packages (aka "Import Mapping" or "external references")https://github.com/cem-clemta/oapi-codegen#splitting-large-openapi-specs-across-multiple-packages-aka-import-mapping-or-external-references
Using a single package with multiple OpenAPI specshttps://github.com/cem-clemta/oapi-codegen#using-a-single-package-with-multiple-openapi-specs
Using multiple packages, with one OpenAPI spec per packagehttps://github.com/cem-clemta/oapi-codegen#using-multiple-packages-with-one-openapi-spec-per-package
Modifying the input OpenAPI Specification (with OpenAPI Overlay)https://github.com/cem-clemta/oapi-codegen#modifying-the-input-openapi-specification-with-openapi-overlay
Generating Nullable typeshttps://github.com/cem-clemta/oapi-codegen#generating-nullable-types
OpenAPI extensionshttps://github.com/cem-clemta/oapi-codegen#openapi-extensions
Request/response validation middlewarehttps://github.com/cem-clemta/oapi-codegen#requestresponse-validation-middleware
Implementing securityhttps://github.com/cem-clemta/oapi-codegen#implementing-security
On the serverhttps://github.com/cem-clemta/oapi-codegen#on-the-server
Deprecated: auth scopes on the request contexthttps://github.com/cem-clemta/oapi-codegen#deprecated-auth-scopes-on-the-request-context
On the clienthttps://github.com/cem-clemta/oapi-codegen#on-the-client
Custom code generationhttps://github.com/cem-clemta/oapi-codegen#custom-code-generation
Local pathshttps://github.com/cem-clemta/oapi-codegen#local-paths
HTTPS pathshttps://github.com/cem-clemta/oapi-codegen#https-paths
Inline templatehttps://github.com/cem-clemta/oapi-codegen#inline-template
Using the Go packagehttps://github.com/cem-clemta/oapi-codegen#using-the-go-package
Additional Properties (additionalProperties)https://github.com/cem-clemta/oapi-codegen#additional-properties-additionalproperties
Implicit additionalProperties: true / no additionalProperties sethttps://github.com/cem-clemta/oapi-codegen#implicit-additionalproperties-true--no-additionalproperties-set
Explicit additionalProperties: truehttps://github.com/cem-clemta/oapi-codegen#explicit-additionalproperties-true
additionalProperties as integershttps://github.com/cem-clemta/oapi-codegen#additionalproperties-as-integers
additionalProperties with an objecthttps://github.com/cem-clemta/oapi-codegen#additionalproperties-with-an-object
Globally skipping the "optional pointer"https://github.com/cem-clemta/oapi-codegen#globally-skipping-the-optional-pointer
Changing the names of generated typeshttps://github.com/cem-clemta/oapi-codegen#changing-the-names-of-generated-types
Exampleshttps://github.com/cem-clemta/oapi-codegen#examples
Blog postshttps://github.com/cem-clemta/oapi-codegen#blog-posts
Frequently Asked Questions (FAQs)https://github.com/cem-clemta/oapi-codegen#frequently-asked-questions-faqs
Does oapi-codegen support OpenAPI 3.1?https://github.com/cem-clemta/oapi-codegen#does-oapi-codegen-support-openapi-31
How does oapi-codegen handle anyOf, allOf and oneOf?https://github.com/cem-clemta/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://github.com/cem-clemta/oapi-codegen#how-can-i-ignore-parts-of-the-spec-i-dont-care-about
Should I commit the generated code?https://github.com/cem-clemta/oapi-codegen#should-i-commit-the-generated-code
Should I lint the generated code?https://github.com/cem-clemta/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://github.com/cem-clemta/oapi-codegen#ive-just-updated-my-version-of-kin-openapi-and-now-i-cant-build-my-code-
Contributorshttps://github.com/cem-clemta/oapi-codegen#contributors
Sponsorshttps://github.com/cem-clemta/oapi-codegen#sponsors
https://github.com/cem-clemta/oapi-codegen#installation
https://github.com/cem-clemta/oapi-codegen#action-required-the-repository-for-this-project-has-changed
May 2024https://github.com/oapi-codegen/oapi-codegen/discussions/1605
https://github.com/cem-clemta/oapi-codegen#installing
Supported Servershttps://github.com/cem-clemta/oapi-codegen#supported-servers
go tool supporthttps://www.jvt.me/posts/2025/01/27/go-tools-124/
https://github.com/cem-clemta/oapi-codegen#pinning-to-commits
yethttps://github.com/oapi-codegen/oapi-codegen/issues/1519
https://github.com/cem-clemta/oapi-codegen#usage
oapi-codegen configuration documentationhttps://github.com/cem-clemta/oapi-codegen/blob/main/docs/configuration.md
a JSON Schemahttps://github.com/cem-clemta/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://github.com/cem-clemta/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://github.com/cem-clemta/oapi-codegen#features
a number of servershttps://github.com/cem-clemta/oapi-codegen#supported-servers
docshttps://github.com/cem-clemta/oapi-codegen#generating-server-side-boilerplate
docshttps://github.com/cem-clemta/oapi-codegen#generating-api-clients
docshttps://github.com/cem-clemta/oapi-codegen#generating-api-models
docshttps://github.com/cem-clemta/oapi-codegen#import-mapping
https://github.com/cem-clemta/oapi-codegen#what-does-it-look-like
examplehttps://github.com/cem-clemta/oapi-codegen/blob/main/examples/petstore-expanded/stdhttp/api/petstore.gen.go
Strict serverhttps://github.com/cem-clemta/oapi-codegen#strict-server
https://github.com/cem-clemta/oapi-codegen#key-design-decisions
webhookshttps://spec.openapis.org/oas/v3.1.0#oasWebhooks
converterhttps://converter.swagger.io/
more detailshttps://github.com/cem-clemta/oapi-codegen#additional-properties-additionalproperties
https://github.com/cem-clemta/oapi-codegen#generating-server-side-boilerplate
openapi.tanna.dev/go/validatorhttps://openapi.tanna.dev/go/validator/
https://github.com/cem-clemta/oapi-codegen#supported-servers
Chihttps://github.com/go-chi/chi
Chi documentationhttps://github.com/cem-clemta/oapi-codegen/blob/main/docs/chi-server.md
Echohttps://github.com/labstack/echo
Echo documentationhttps://github.com/cem-clemta/oapi-codegen/blob/main/docs/echo-server.md
Echo v5https://github.com/labstack/echo
Echo v5 documentationhttps://github.com/cem-clemta/oapi-codegen/blob/main/docs/echo5-server.md
Fiberhttps://github.com/gofiber/fiber
Fiber documentationhttps://github.com/cem-clemta/oapi-codegen/blob/main/docs/fiber-server.md
Fiber v3https://github.com/gofiber/fiber
Fiber v3 documentationhttps://github.com/cem-clemta/oapi-codegen/blob/main/docs/fiber-v3-server.md
Ginhttps://github.com/gin-gonic/gin
Gin documentationhttps://github.com/cem-clemta/oapi-codegen/blob/main/docs/gin-server.md
gorilla/muxhttps://github.com/gorilla/mux
gorilla/mux documentationhttps://github.com/cem-clemta/oapi-codegen/blob/main/docs/gorilla-server.md
Irishttps://github.com/kataras/iris
Iris documentationhttps://github.com/cem-clemta/oapi-codegen/blob/main/docs/iris-server.md
net/httphttps://pkg.go.dev/net/http
net/http documentationhttps://github.com/cem-clemta/oapi-codegen/blob/main/docs/stdhttp-server.md
https://github.com/cem-clemta/oapi-codegen#strict-server
HTTP 500 Internal Server Errorhttps://http.cat/500
"What does it look like"https://github.com/cem-clemta/oapi-codegen#what-does-it-look-like-strict
validation of incoming requestshttps://github.com/cem-clemta/oapi-codegen#requestresponse-validation-middleware
issue #2010https://github.com/oapi-codegen/oapi-codegen/issues/2010
https://github.com/cem-clemta/oapi-codegen#generating-api-clients
https://github.com/cem-clemta/oapi-codegen#with-server-urls
examples/generate/serverurlshttps://github.com/cem-clemta/oapi-codegen/blob/main/examples/generate/serverurls
https://github.com/cem-clemta/oapi-codegen#duplicate-types-generated-for-clientss-response-object-types
https://github.com/cem-clemta/oapi-codegen#generating-api-models
examples/only-modelshttps://github.com/cem-clemta/oapi-codegen/blob/main/examples/only-models
https://github.com/cem-clemta/oapi-codegen#splitting-large-openapi-specs-across-multiple-packages-aka-import-mapping-or-external-references
https://github.com/cem-clemta/oapi-codegen#using-a-single-package-with-multiple-openapi-specs
the import-mapping/samepackage examplehttps://github.com/cem-clemta/oapi-codegen/blob/main/examples/import-mapping/samepackage
https://github.com/cem-clemta/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/cem-clemta/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/cem-clemta/oapi-codegen/blob/main/examples/import-mapping/multiplepackages
https://github.com/cem-clemta/oapi-codegen#modifying-the-input-openapi-specification-with-openapi-overlay
our recommendation anywayhttps://github.com/cem-clemta/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/cem-clemta/oapi-codegen/blob/main/examples/overlay
https://github.com/cem-clemta/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/cem-clemta/oapi-codegen#openapi-extensions
OpenAPI Specification Extensionshttps://spec.openapis.org/oas/v3.0.3#specification-extensions
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-go-type--x-go-type-import
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-go-type-skip-optional-pointer
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-go-name
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-go-type-name
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-omitempty
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-omitzero
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-go-json-ignore
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-oapi-codegen-extra-tags
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-enum-varnames--x-enumnames
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-deprecated-reason
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-order
(docs)https://github.com/cem-clemta/oapi-codegen/blob/main/docs/extensions.md#x-oapi-codegen-only-honour-go-name
https://github.com/cem-clemta/oapi-codegen#requestresponse-validation-middleware
strict serverhttps://github.com/cem-clemta/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
https://github.com/cem-clemta/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/cem-clemta/oapi-codegen#on-the-server
validation middlewarehttps://github.com/cem-clemta/oapi-codegen#requestresponse-validation-middleware
authenticated API examplehttps://github.com/cem-clemta/oapi-codegen/blob/main/examples/authenticated-api/echo
https://github.com/cem-clemta/oapi-codegen#deprecated-auth-scopes-on-the-request-context
validation middlewarehttps://github.com/cem-clemta/oapi-codegen#requestresponse-validation-middleware
#1524https://github.com/oapi-codegen/oapi-codegen/issues/1524
https://github.com/cem-clemta/oapi-codegen#on-the-client
pkg/securityprovider packagehttps://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/securityprovider
https://github.com/cem-clemta/oapi-codegen#custom-code-generation
https://github.com/cem-clemta/oapi-codegen#local-paths
https://github.com/cem-clemta/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://github.com/cem-clemta/oapi-codegen#inline-template
https://github.com/cem-clemta/oapi-codegen#using-the-go-package
will be documented in the futurehttps://github.com/oapi-codegen/oapi-codegen/issues/1487
https://github.com/cem-clemta/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/cem-clemta/oapi-codegen#implicit-additionalproperties-true--no-additionalproperties-set
https://github.com/cem-clemta/oapi-codegen#explicit-additionalproperties-true
https://github.com/cem-clemta/oapi-codegen#additionalproperties-as-integers
https://github.com/cem-clemta/oapi-codegen#additionalproperties-with-an-object
https://github.com/cem-clemta/oapi-codegen#globally-skipping-the-optional-pointer
x-go-type-skip-optional-pointer extensionhttps://github.com/cem-clemta/oapi-codegen#ext-x-go-type-skip-optional-pointer
the example code for prefer-skip-optional-pointerhttps://github.com/cem-clemta/oapi-codegen/blob/main/examples/output-options/preferskipoptionalpointer
example code for prefer-skip-optional-pointer-with-omitzerohttps://github.com/cem-clemta/oapi-codegen/blob/main/examples/output-options/preferskipoptionalpointerwithomitzero
https://github.com/cem-clemta/oapi-codegen#changing-the-names-of-generated-types
the test caseshttps://github.com/cem-clemta/oapi-codegen/blob/main/internal/test/options/name_normalizer
https://github.com/cem-clemta/oapi-codegen#examples
examples directoryhttps://github.com/cem-clemta/oapi-codegen/blob/main/examples
internal test caseshttps://github.com/cem-clemta/oapi-codegen/blob/main/internal/test
https://github.com/cem-clemta/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/cem-clemta/oapi-codegen#frequently-asked-questions-faqs
https://github.com/cem-clemta/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://github.com/cem-clemta/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://github.com/cem-clemta/oapi-codegen#how-does-oapi-codegen-handle-anyof-allof-and-oneof
the example codehttps://github.com/cem-clemta/oapi-codegen/blob/main/examples/anyof-allof-oneof
https://github.com/cem-clemta/oapi-codegen#how-can-i-ignore-parts-of-the-spec-i-dont-care-about
the configuration filehttps://github.com/cem-clemta/oapi-codegen#usage
the docshttps://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen#OutputOptions
https://github.com/cem-clemta/oapi-codegen#should-i-commit-the-generated-code
https://github.com/cem-clemta/oapi-codegen#should-i-lint-the-generated-code
https://github.com/cem-clemta/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/cem-clemta/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/cem-clemta/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
Readmehttps://github.com/cem-clemta/oapi-codegen#readme-ov-file
Licensehttps://github.com/cem-clemta/oapi-codegen#License-1-ov-file
Contributinghttps://github.com/cem-clemta/oapi-codegen#contributing-ov-file
Activityhttps://github.com/cem-clemta/oapi-codegen/activity
0 forkshttps://github.com/cem-clemta/oapi-codegen/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fcem-clemta%2Foapi-codegen&report=cem-clemta+%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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.