codegen

Codegen is a code generator that produces the boilerplate Antrea needs for a consistent build.

  • Development
  • Tools & Utilities
Codegen is a code generator that produces the boilerplate Antrea needs for a consistent build. It automatically generates the background code for the Antrea Kubernetes networking project, reducing manual errors and keeping the application stable and predictable across environments.

Platform availability

Available on 0 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

47/100 Fair

Maintained
58last commit 172 days ago
Popular
745,180 GitHub stars
Easy to install
250 install platforms, install notes, Docker image
Light to run
No data
Security check
152 serious findings, 5 minor

Based on 4 of 5 factors.

GitHub stars
5,180
Open issues
50
Last commit
2026-06-02
License
Apache-2.0
Activity
stale

Checked 15 days ago - source: GitHub (salesforce/CodeGen)

Resources & Compatibility

ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Install the tool and check it works Run the `go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@latest` command, then run `oapi-codegen -version` to confirm it is installed. If the version check fails, your terminal cannot find the generator and no code will be produced. source
  • Use the matching install command For v2.3.0 or newer, use the `oapi-codegen` organization install path; for v2.2.0 or older, use the `deepmap` install path. Mixing them can install the wrong version and cause confusing generation or build errors. source
  • Add import-mapping for external files If your OpenAPI (API description) file points to external files, add `import-mapping` in the codegen config before running the generator. Missing this setting makes the generator fail even when the rest of the config looks correct. source

Fetched 53 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

How can I confirm oapi-codegen is installed correctly before generating code?

Install the tool with the go install command, then run oapi-codegen -version to confirm it is available. If the version check fails, the terminal cannot find the generator and no code will be produced.

What configuration is required when my OpenAPI file references external files?

If the OpenAPI file points to external files, add import-mapping to the codegen config before running the generator. Missing this setting can make the generator fail even when the rest of the config looks correct.

Can Plasmic Codegen output be self-hosted?

Yes, the generated code can be self-hosted. The codegen engine and editor can also be self-hosted, with details in the open-source repository.

Does Codegen on-prem deployment keep data inside my own infrastructure?

Yes, Codegen on-prem deployment runs AI agents inside your own infrastructure. This lets you maintain data control in-house.

Answers sourced from codegen.com, forum.plasmic.app, pkg.go.dev

Community

Collected 48 days ago - public community threads