{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/oapi-codegen/","markdown":"https://findsoftware.frbit.cloud/oapi-codegen.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"oapi-codegen","name":"oapi-codegen","urls":{"repository":"https://github.com/oapi-codegen/oapi-codegen","docs":"https://github.com/oapi-codegen/oapi-codegen/blob/v2.8.2/docs/configuration.md"},"category":["dev-tool","backend"],"description":"Go code generator that turns OpenAPI 3.0 and 3.1 specifications into server boilerplate, API clients and models.","maintainer":"oapi-codegen","firstRelease":2019,"hosting":["binary"],"language":"go","runtime":["binary"],"installMethod":"go, go get -tool","licenseModel":"open-source","license":"Apache-2.0","currentMajor":"2","latestReleaseDate":"2026-10-31T00:00:00.000Z","githubStargazers":8667,"contributors":291,"packagistDownloads":null,"npmWeeklyDownloads":null,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/oapi-codegen/oapi-codegen","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://github.com/oapi-codegen/oapi-codegen/blob/v2.8.2/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://github.com/oapi-codegen/oapi-codegen/blob/v2.8.2/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/oapi-codegen/oapi-codegen","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://github.com/oapi-codegen/oapi-codegen/blob/v2.8.2/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/oapi-codegen/oapi-codegen/blob/v2.8.2/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/oapi-codegen/oapi-codegen/blob/v2.8.2/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/oapi-codegen/oapi-codegen/blob/v2.8.2/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/oapi-codegen/oapi-codegen/commits/v1.0.0","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://api.github.com/repos/oapi-codegen/oapi-codegen","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/oapi-codegen/oapi-codegen/blob/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/oapi-codegen/oapi-codegen/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/oapi-codegen/oapi-codegen/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/oapi-codegen/oapi-codegen","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/oapi-codegen/oapi-codegen/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"oapi-codegen is a command-line tool and library that converts OpenAPI 3.0 and 3.1 specifications into Go code. It generates server boilerplate for Go HTTP routers, API clients and model types, and its server output targets Chi, Echo, Echo v5, Fiber, Fiber v3, Gin, gorilla/mux, Iris and the standard net/http package.\n\nThe tool is installed with the Go toolchain, either as a binary or as a `go tool` dependency of the project that uses it. The source is in the oapi-codegen organization on GitHub, and the project has no website of its own beyond the repository.\n\n## Worth knowing\n\nThe tool and the generated code have different Go requirements, and the generated code's minimum depends on the server target."}